aboutsummaryrefslogtreecommitdiff
blob: b65436de9c9f98fdbe8db883710e2ea254d14ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
}