mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
37 lines
790 B
Bash
37 lines
790 B
Bash
# 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+https://github.com/andersson/$_pkgname")
|
|
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
|
|
}
|