gps-nokia-n900: Package initial version (#1198)

This commit is contained in:
Pavel Machek 2018-02-03 12:19:07 +01:00 committed by Oliver Smith
parent a224919712
commit 39883062ed

View file

@ -0,0 +1,26 @@
pkgname=gps-nokia-n900
pkgver=0.0
pkgrel=0
pkgdesc="GPS support for Nokia N900"
url="https://github.com/postmarketOS/gps-nokia-n900"
arch="all"
license="GPL3"
depends=""
makedepends="linux-headers"
subpackages=""
source="${pkgname}-${pkgver}.tar.gz::https://github.com/postmarketOS/gps-nokia-n900/archive/v${pkgver}.tar.gz"
options="!check"
builddir="$srcdir"/"$pkgname"-"$pkgver"
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
install -d -m755 "$pkgdir"/usr/bin
install -D -m755 "$builddir"/gps-nokia-n900 "$pkgdir"/usr/bin
}
sha512sums="ea3b871b28a70d8761a0e427afe784826df7969eecad4e3d0294a2e6c2b2155545a57d3490e650e8ba675811b1f8604aed5c5003dee797ef800854ec26f1be32 gps-nokia-n900-0.0.tar.gz"