summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ba111380cfb..6c9c4af1e2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,8 +12,9 @@ optdepends=()
checkdepends=('rsync')
provides=('casync')
conflicts=('casync')
-source=("$pkgname::git+$url")
-sha256sums=('SKIP')
+source=("$pkgname::git+$url" 'renameat2-test-fix.patch')
+sha256sums=('SKIP'
+ '3fb0fc4965039d0fc5b51c8fe49bb7ad74108324ff921c6f5b74127036c28d51')
pkgver() {
cd "$pkgname"
@@ -23,6 +24,11 @@ pkgver() {
)
}
+prepare() {
+ cd "$srcdir/$pkgname"
+ patch -p1 -i "$srcdir/renameat2-test-fix.patch"
+}
+
build() {
cd "$srcdir/$pkgname"
arch-meson build/ -Dselinux=false