2021-12-11 02:28:38 +00:00
|
|
|
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
|
|
|
|
|
|
|
|
buildarch=8
|
|
|
|
|
|
|
|
_pkgname="qrtr"
|
|
|
|
pkgname="$_pkgname-git"
|
|
|
|
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
|
|
|
|
pkgver=r93.9dc7a88
|
|
|
|
pkgrel=1
|
|
|
|
arch=("aarch64")
|
|
|
|
url="https://github.com/andersson/$_pkgname"
|
|
|
|
license=("BSD-3-Clause")
|
|
|
|
groups=("qcom-icnss-wlan")
|
|
|
|
depends=("glibc")
|
|
|
|
makedepends=("git" "make" "gcc" "linux-headers")
|
|
|
|
provides=("$_pkgname")
|
2022-03-19 15:47:15 +00:00
|
|
|
source=("git+https://github.com/andersson/$_pkgname")
|
2021-12-11 02:28:38 +00:00
|
|
|
md5sums=("SKIP")
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd "$_pkgname"
|
|
|
|
|
|
|
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$_pkgname"
|
|
|
|
|
|
|
|
make prefix=/usr all
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$_pkgname"
|
|
|
|
|
|
|
|
make prefix=/usr DESTDIR="$pkgdir/" install
|
|
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/COPYING
|
|
|
|
}
|