pmaports/main/librem5-agps/APKBUILD
Alistair Francis f34a55dcbc
librem5-agps: Add GUI support (MR 3968)
Add GUI support to librem5-agps

Signed-off-by: Alistair Francis <alistair@alistair23.me>
[ci:skip-build]: already built successfully in CI
2023-03-23 08:03:30 +01:00

28 lines
1 KiB
Text

# Maintainer: Alistair Francis <alistair@alistair23.me>
pkgname=librem5-agps
pkgver=0.4.0_git20230318
pkgrel=0
_commit="cb83d92fe5523cc5435fa62a6114349ef3b18a3c"
pkgdesc="Convenience scripts for seeding GNSS almanac and ephemeris on the Librem 5"
url="https://source.puri.sm/angus.ainslie/librem5-agps"
arch="aarch64"
license="MIT"
depends="python3 py3-dbus py3-nmea2 py3-requests gnss-share socat yad"
options="!check"
builddir="$srcdir/librem5-agps-$_commit"
source="https://source.puri.sm/angus.ainslie/librem5-agps/-/archive/$_commit/librem5-agps-$_commit.tar.gz"
package() {
# Manually install the scripts that currently work on pmOS
install -Dm755 usr/bin/gnss-config \
-t "$pkgdir"/usr/bin/
install -Dm755 usr/bin/gnss-test \
-t "$pkgdir"/usr/bin/
install -Dm755 usr/share/applications/* -t "$pkgdir"/usr/share/applications/
}
sha512sums="
e185c18474bd5a6aebe0c4be6746fd6ea0af8d9bc2cd414fe8772005e086da0d00c8d4d23757e4580c0eb6751cae6c216f019ef8949016ecdc81009df43d2c68 librem5-agps-cb83d92fe5523cc5435fa62a6114349ef3b18a3c.tar.gz
"