2023-03-05 11:19:31 +00:00
|
|
|
# Maintainer: Alistair Francis <alistair@alistair23.me>
|
|
|
|
pkgname=librem5-agps
|
2023-03-18 01:50:30 +00:00
|
|
|
pkgver=0.4.0_git20230318
|
2023-03-05 11:19:31 +00:00
|
|
|
pkgrel=0
|
2023-03-18 01:50:30 +00:00
|
|
|
_commit="cb83d92fe5523cc5435fa62a6114349ef3b18a3c"
|
2023-03-05 11:19:31 +00:00
|
|
|
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"
|
2023-03-18 01:50:30 +00:00
|
|
|
depends="python3 py3-dbus py3-nmea2 py3-requests gnss-share socat yad"
|
2023-03-05 11:19:31 +00:00
|
|
|
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/
|
|
|
|
|
2023-03-18 01:50:30 +00:00
|
|
|
install -Dm755 usr/share/applications/* -t "$pkgdir"/usr/share/applications/
|
2023-03-05 11:19:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-03-18 01:50:30 +00:00
|
|
|
e185c18474bd5a6aebe0c4be6746fd6ea0af8d9bc2cd414fe8772005e086da0d00c8d4d23757e4580c0eb6751cae6c216f019ef8949016ecdc81009df43d2c68 librem5-agps-cb83d92fe5523cc5435fa62a6114349ef3b18a3c.tar.gz
|
2023-03-05 11:19:31 +00:00
|
|
|
"
|