33 lines
740 B
Bash
33 lines
740 B
Bash
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
|
|
# Maintainer: BigfootACA <bigfoot@classfun.cn>
|
|
|
|
pkgname="qrtr"
|
|
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
|
|
pkgver=r95.d0d471c
|
|
pkgrel=1
|
|
arch=("aarch64")
|
|
url="https://github.com/andersson/$pkgname"
|
|
license=("BSD-3-Clause")
|
|
groups=("qcom-icnss-wlan")
|
|
depends=("glibc")
|
|
makedepends=("git" "make" "gcc")
|
|
provides=("$pkgname")
|
|
source=("git+$url")
|
|
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/LICENSE
|
|
}
|