From d218b43368e74b3d5b79e7200654bb1fa8fbdeb6 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Thu, 25 Mar 2021 00:37:04 +0100 Subject: [PATCH] Revert "Delete pinephone-modem-scripts-0.20.8-r1.ebuild" This reverts commit b245822786c597a77fb05ab8036596c2ad156015. --- .../pinephone-modem-scripts-0.20.8-r1.ebuild | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 app-mobilephone/pinephone-modem-scripts/pinephone-modem-scripts-0.20.8-r1.ebuild diff --git a/app-mobilephone/pinephone-modem-scripts/pinephone-modem-scripts-0.20.8-r1.ebuild b/app-mobilephone/pinephone-modem-scripts/pinephone-modem-scripts-0.20.8-r1.ebuild new file mode 100644 index 0000000..ae59a00 --- /dev/null +++ b/app-mobilephone/pinephone-modem-scripts/pinephone-modem-scripts-0.20.8-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit udev systemd git-r3 + +DESCRIPTION="Modem scripts for the PinePhone" +HOMEPAGE="https://gitlab.manjaro.org/manjaro-arm/packages/community/phosh/pinephone-modem-scripts.git" +EGIT_REPO_URI="https://gitlab.manjaro.org/manjaro-arm/packages/community/phosh/pinephone-modem-scripts.git" +EGIT_BRANCH=eg25-manager + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~arm64" +IUSE="ofono" + +DEPEND="net-dialup/atinout + sci-geosciences/gpsd +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + # fix path + default + sed -e s/bin/sbin/g -i gpsd-pinephone.service +} + +src_install() { + udev_dorules ${S}/*.rules + +# exeinto /etc/gpsd/ +# newexe ${S}/gpsd_device-hook.sh device-hook +# systemd_dounit ${S}/*.service + dobin ${S}/pinephone-modem-setup.sh + #dobin ${S}/pinephone-modem-setup-ofono.sh +}