mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
aur/qrtr-git to r114.daf7f4c-1
add depends meson instead of make, change build system to meson
This commit is contained in:
parent
ab3a355b18
commit
f05093a97d
1 changed files with 7 additions and 8 deletions
|
@ -1,18 +1,19 @@
|
|||
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
|
||||
# Contributor: Raihan Ahamed <raihan1999ahamed@gmail.com>
|
||||
|
||||
buildarch=8
|
||||
|
||||
_pkgname="qrtr"
|
||||
pkgname="$_pkgname-git"
|
||||
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
|
||||
pkgver=r93.9dc7a88
|
||||
pkgver=r114.daf7f4c
|
||||
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")
|
||||
makedepends=("git" "meson" "gcc" "linux-headers")
|
||||
provides=("$_pkgname")
|
||||
source=("git+https://github.com/andersson/$_pkgname")
|
||||
md5sums=("SKIP")
|
||||
|
@ -24,14 +25,12 @@ pkgver() {
|
|||
}
|
||||
|
||||
build() {
|
||||
cd "$_pkgname"
|
||||
|
||||
make prefix=/usr all
|
||||
arch-meson $_pkgname build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname"
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
|
||||
make prefix=/usr DESTDIR="$pkgdir/" install
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/COPYING
|
||||
install -Dm644 "$_pkgname"/LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/COPYING
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue