upstream: use meson instead make
Some checks failed
gitea/pkg-qrtr/pipeline/head There was a failure building this commit
Some checks failed
gitea/pkg-qrtr/pipeline/head There was a failure building this commit
This commit is contained in:
parent
37b1812dbd
commit
002f94e0ab
11
PKGBUILD
11
PKGBUILD
@ -3,14 +3,14 @@
|
||||
|
||||
pkgname="qrtr"
|
||||
pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
|
||||
pkgver=r95.d0d471c
|
||||
pkgver=r112.8f9b2bc
|
||||
pkgrel=1
|
||||
arch=("aarch64")
|
||||
url="https://github.com/andersson/$pkgname"
|
||||
url="https://github.com/linux-msm/$pkgname"
|
||||
license=("BSD-3-Clause")
|
||||
groups=("qcom-icnss-wlan")
|
||||
depends=("glibc")
|
||||
makedepends=("git" "make" "gcc")
|
||||
makedepends=("git" "meson" "ninja" "gcc")
|
||||
provides=("$pkgname")
|
||||
source=("git+$url")
|
||||
md5sums=("SKIP")
|
||||
@ -22,11 +22,12 @@ pkgver() {
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
make prefix=/usr all
|
||||
arch-meson . build
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
make prefix=/usr DESTDIR="$pkgdir/" install
|
||||
DESTDIR="$pkgdir/" ninja -C build install
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user