app-mobilephone/pinephone-modem-scripts: add package

scripts for the modem

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Marco Scardovi <marco@scardovi.com>
This commit is contained in:
Marco Scardovi
2021-06-25 19:40:35 +02:00
parent e869241d43
commit c8dfe3dac8
5 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit udev systemd
COMMIT="cefcd46502acca9bd396c885df445a712c8c4eff"
DESCRIPTION="Modem scripts for the PinePhone"
HOMEPAGE="https://gitlab.manjaro.org/manjaro-arm/packages/community/phosh/pinephone-modem-scripts"
EGIT_REPO_URI="https://gitlab.manjaro.org/manjaro-arm/packages/community/phosh/pinephone-modem-scripts/-/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
EGIT_BRANCH=eg25-manager
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~arm64"
RDEPEND="
net-dialup/atinout
sci-geosciences/gpsd
"
S="${WORKDIR}/${PN}-${COMMIT}"
src_install() {
udev_dorules "${S}"/90-modem-eg25.rules
systemd_dounit "${S}"/pinephone-modem-scripts.pinephone-modem-setup.service
dobin "${S}"/pinephone-modem-setup.sh
}