aur/qrtr-git to r114.daf7f4c-1

add depends meson instead of make, change build system to meson
This commit is contained in:
Raihan Ahamed 2024-07-22 23:44:36 +05:30
parent ab3a355b18
commit f05093a97d

View file

@ -1,18 +1,19 @@
# Maintainer: Jami Kettunen <jami.kettunen@protonmail.com> # Maintainer: Jami Kettunen <jami.kettunen@protonmail.com>
# Contributor: Raihan Ahamed <raihan1999ahamed@gmail.com>
buildarch=8 buildarch=8
_pkgname="qrtr" _pkgname="qrtr"
pkgname="$_pkgname-git" pkgname="$_pkgname-git"
pkgdesc="Userspace reference for net/qrtr in the Linux kernel" pkgdesc="Userspace reference for net/qrtr in the Linux kernel"
pkgver=r93.9dc7a88 pkgver=r114.daf7f4c
pkgrel=1 pkgrel=1
arch=("aarch64") arch=("aarch64")
url="https://github.com/andersson/$_pkgname" url="https://github.com/andersson/$_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" "linux-headers") makedepends=("git" "meson" "gcc" "linux-headers")
provides=("$_pkgname") provides=("$_pkgname")
source=("git+https://github.com/andersson/$_pkgname") source=("git+https://github.com/andersson/$_pkgname")
md5sums=("SKIP") md5sums=("SKIP")
@ -24,14 +25,12 @@ pkgver() {
} }
build() { build() {
cd "$_pkgname" arch-meson $_pkgname build
meson compile -C build
make prefix=/usr all
} }
package() { package() {
cd "$_pkgname" meson install -C build --destdir "$pkgdir"
make prefix=/usr DESTDIR="$pkgdir/" install install -Dm644 "$_pkgname"/LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/COPYING
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/COPYING
} }