upstream: use meson instead make
Some checks failed
gitea/pkg-qrtr/pipeline/head There was a failure building this commit

This commit is contained in:
BigfootACA 2024-04-27 01:50:11 +08:00
parent 37b1812dbd
commit 002f94e0ab

View File

@ -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
}