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" pkgname="qrtr"
pkgdesc="Userspace reference for net/qrtr in the Linux kernel" pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
pkgver=r95.d0d471c pkgver=r112.8f9b2bc
pkgrel=1 pkgrel=1
arch=("aarch64") arch=("aarch64")
url="https://github.com/andersson/$pkgname" url="https://github.com/linux-msm/$pkgname"
license=("BSD-3-Clause") license=("BSD-3-Clause")
groups=("qcom-icnss-wlan") groups=("qcom-icnss-wlan")
depends=("glibc") depends=("glibc")
makedepends=("git" "make" "gcc") makedepends=("git" "meson" "ninja" "gcc")
provides=("$pkgname") provides=("$pkgname")
source=("git+$url") source=("git+$url")
md5sums=("SKIP") md5sums=("SKIP")
@ -22,11 +22,12 @@ pkgver() {
build() { build() {
cd "$pkgname" cd "$pkgname"
make prefix=/usr all arch-meson . build
ninja -C build
} }
package() { package() {
cd "$pkgname" cd "$pkgname"
make prefix=/usr DESTDIR="$pkgdir/" install DESTDIR="$pkgdir/" ninja -C build install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
} }