# Maintainer: Jami Kettunen # Maintainer: BigfootACA pkgname="qrtr" pkgdesc="Userspace reference for net/qrtr in the Linux kernel" pkgver=r112.8f9b2bc pkgrel=2 arch=("aarch64") url="https://github.com/linux-msm/qrtr" license=("BSD-3-Clause") groups=("qcom-icnss-wlan") depends=("glibc") makedepends=("git" "meson" "ninja" "gcc") provides=("$pkgname") source=("git+https://gitea.classfun.cn:4443/mirrors/qrtr.git") md5sums=("SKIP") pkgver() { cd "$pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$pkgname" arch-meson . build ninja -C build } package() { cd "$pkgname" DESTDIR="$pkgdir/" ninja -C build install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }