Skip to content

Commit

Permalink
aur/qrtr-git to r114.daf7f4c
Browse files Browse the repository at this point in the history
add depends meson instead of make, change build system to meson
  • Loading branch information
raihan2000 committed Jul 22, 2024
1 parent ab3a355 commit 555fc51
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions aur/qrtr-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -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")
Expand All @@ -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
}

0 comments on commit 555fc51

Please sign in to comment.