2018-03-11 15:59:09 +00:00
|
|
|
pkgname=qrtr
|
2020-03-06 18:48:03 +00:00
|
|
|
pkgver=0.3_git20200302
|
2020-03-06 18:47:31 +00:00
|
|
|
_commit="7bd5cf302437755b0d741c9dc1805395a9654597"
|
|
|
|
pkgrel=0
|
2018-03-11 15:59:09 +00:00
|
|
|
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
|
|
|
|
url="https://github.com/andersson/qrtr"
|
|
|
|
arch="all"
|
|
|
|
license="BSD-3-Clause"
|
2019-07-17 15:03:58 +00:00
|
|
|
depends_dev="linux-headers"
|
|
|
|
makedepends="$depends_dev"
|
2020-03-06 18:48:03 +00:00
|
|
|
subpackages="$pkgname-doc $pkgname-dev $pkgname-openrc"
|
2018-03-11 15:59:09 +00:00
|
|
|
source="
|
2019-07-17 15:03:58 +00:00
|
|
|
qrtr-$_commit.tar.gz::https://github.com/andersson/qrtr/archive/$_commit.tar.gz
|
2020-03-06 18:48:03 +00:00
|
|
|
qrtr-ns.initd
|
2019-07-17 15:03:58 +00:00
|
|
|
"
|
|
|
|
builddir="$srcdir/qrtr-$_commit"
|
2018-03-11 15:59:09 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
build() {
|
2019-07-17 15:03:58 +00:00
|
|
|
make prefix=/usr all
|
2018-03-11 15:59:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-05-12 15:10:36 +00:00
|
|
|
make prefix=/usr DESTDIR="$pkgdir" install
|
2020-03-06 18:48:03 +00:00
|
|
|
rm -r "$pkgdir"/usr/lib/systemd
|
|
|
|
|
2018-03-11 15:59:09 +00:00
|
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
2020-03-06 18:48:03 +00:00
|
|
|
install -Dm755 "$srcdir"/qrtr-ns.initd "$pkgdir"/etc/init.d/qrtr-ns
|
2018-03-11 15:59:09 +00:00
|
|
|
}
|
|
|
|
|
2020-03-06 18:47:31 +00:00
|
|
|
sha512sums="054d75190d110b3daa397bcc1c954a2361bd1024b81055e94ea257a4d79f0bc4e789dd7c33f5b649e4fec82480ef0ff6c78a64aaee1c9ff97f30dd4ba9bc1dc8 qrtr-7bd5cf302437755b0d741c9dc1805395a9654597.tar.gz
|
2020-03-06 18:48:03 +00:00
|
|
|
68c27e5c1c70ffdec0498cd4746208dd571e392ba030cf1a52f4a05394a57e399cf7437a1f27631dd288c7771fb656946aa27d7aec5b23d41fe13c5199ae390a qrtr-ns.initd"
|