mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
added aur/qrtr-git
This commit is contained in:
parent
a26d0c71d6
commit
85672094f5
1 changed files with 37 additions and 0 deletions
37
aur/qrtr-git/PKGBUILD
Normal file
37
aur/qrtr-git/PKGBUILD
Normal 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
|
||||
}
|
Loading…
Reference in a new issue