-
-
Save kode54/04faba2e7ba3d8c363eac2f96c546380 to your computer and use it in GitHub Desktop.
bcachefs-tools-git AUR package patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index e76e54c..15d345a 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -43,13 +49,13 @@ pkgver() { | |
build() { | |
cd "$srcdir/$_reponame" | |
- make | |
+ make LIBEXECDIR="/usr/lib/bcachefs-tools" | |
} | |
package() { | |
cd "$srcdir/$_reponame" | |
- make DESTDIR="$pkgdir" PREFIX="/usr" ROOT_SBINDIR="/usr/bin" INITRAMFS_DIR="/etc/initcpio" install | |
+ make DESTDIR="$pkgdir" PREFIX="/usr" ROOT_SBINDIR="/usr/bin" INITRAMFS_DIR="/etc/initcpio" LIBEXECDIR="/usr/lib/bcachefs-tools" install | |
install -Dm644 "arch/etc/initcpio/hooks/bcachefs" \ | |
"$pkgdir/etc/initcpio/hooks/bcachefs" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment