summaryrefslogtreecommitdiff
path: root/app-mobilephone/pinephone-modem-scripts/pinephone-modem-scripts-0.20.8.ebuild
blob: 22122782706f22a93e8d6516f8d62f020d157f3a (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

S="${WORKDIR}/${PN}-${COMMIT}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~arm64"

RDEPEND="
	net-dialup/atinout
	sci-geosciences/gpsd
"

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
}