35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Maintainer: Minecrell <minecrell@minecrell.net>
|
|
pkgname=qrtr
|
|
pkgver=0.3_git20201207
|
|
_commit="9dc7a88548c27983e06465d3fbba2ba27d4bc050"
|
|
pkgrel=0
|
|
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
|
|
url="https://github.com/andersson/qrtr"
|
|
arch="all"
|
|
license="BSD-3-Clause"
|
|
depends_dev="linux-headers"
|
|
makedepends="$depends_dev"
|
|
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-openrc"
|
|
source="
|
|
qrtr-$_commit.tar.gz::https://github.com/andersson/qrtr/archive/$_commit.tar.gz
|
|
qrtr-ns.initd
|
|
"
|
|
builddir="$srcdir/qrtr-$_commit"
|
|
options="!check"
|
|
|
|
build() {
|
|
make prefix=/usr all
|
|
}
|
|
|
|
package() {
|
|
make prefix=/usr DESTDIR="$pkgdir" install
|
|
rm -r "$pkgdir"/usr/lib/systemd
|
|
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
install -Dm755 "$srcdir"/qrtr-ns.initd "$pkgdir"/etc/init.d/qrtr-ns
|
|
}
|
|
|
|
sha512sums="
|
|
d3dd93983382a105372665dd1e1abb944adace37fabab0980dec3dded175586e37dc0da480d21be5876921274f4420bdf032bd5cc0e86ab951e3ec704ec396e0 qrtr-9dc7a88548c27983e06465d3fbba2ba27d4bc050.tar.gz
|
|
68c27e5c1c70ffdec0498cd4746208dd571e392ba030cf1a52f4a05394a57e399cf7437a1f27631dd288c7771fb656946aa27d7aec5b23d41fe13c5199ae390a qrtr-ns.initd
|
|
"
|