added aur/qrtr-git

This commit is contained in:
Kevin Mihelich 2021-12-11 02:28:38 +00:00
parent a26d0c71d6
commit 85672094f5

37
aur/qrtr-git/PKGBUILD Normal file
View file

@ -0,0 +1,37 @@
# 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")
source=("git://github.com/andersson/$_pkgname.git")
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
}