summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAdrian Perez de Castro2023-11-22 23:04:20 +0200
committerAdrian Perez de Castro2023-11-22 23:04:20 +0200
commit7d522c2561d8030058581ff679cc5aed2700f43b (patch)
treed4fb2c01e5d74d59981ee3c2b6533b7dff055b72 /PKGBUILD
parentd7b5fa01f0457959553d8cbd6ec517e6a41975fd (diff)
downloadaur-7d522c2561d8030058581ff679cc5aed2700f43b.tar.gz
Fix build by picking actual upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b107da485dc4..3e59fdc51c98 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,27 @@
# Maintainer: Adrian Perez <adrian@perezdecastro.org>
pkgname=9pfuse
pkgver=1
-pkgrel=1
+pkgrel=2
pkgdesc="The 9p protocol implementation for FUSE from Plan9 Port"
arch=(x86_64 i686)
url="https://github.com/aperezdc/9pfuse"
license=('GPL')
depends=(fuse)
-source=("https://github.com/downloads/aperezdc/$pkgname/$pkgname-$pkgver.tar.xz")
-md5sums=('5ee18a5473c1e876739d9a7b45d26de7')
+makedepends=(meson)
+source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz")
+sha256sums=('8e7a34e93beaa9eb0f5e018cd5c68d953602445d9f165a2ac4b7f28f3c8a8f0e')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- make
+ rm -rf _build
+ arch-meson _build "$pkgname-$pkgver"
+ meson compile -C_build
# Compress man page, the Makefile won't do it
- gzip -9c 9pfuse.4 > 9pfuse.4.gz
+ gzip -9c "$pkgname-$pkgver/9pfuse.4" > 9pfuse.4.gz
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
- install -m 755 -d "$pkgdir/usr/bin"
- install -m 755 -t "$pkgdir/usr/bin" 9pfuse
+ meson install -C_build --destdir "$pkgdir"
install -m 755 -d "$pkgdir/usr/share/man/man4"
install -m 644 -t "$pkgdir/usr/share/man/man4" 9pfuse.4.gz
}