Skip to content

Instantly share code, notes, and snippets.

@gonX
Created May 12, 2018 10:45
Show Gist options
  • Save gonX/44d1033f4ffa72fb0fdb3d0e43a73021 to your computer and use it in GitHub Desktop.
Save gonX/44d1033f4ffa72fb0fdb3d0e43a73021 to your computer and use it in GitHub Desktop.
Fixes mktorrent-git from AUR to install in /usr instead of /usr/local
diff --git a/PKGBUILD b/PKGBUILD
index 0d5a247..3b0e984 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,5 +25,5 @@ build() {
package() {
cd "$srcdir/${pkgname%-git}"
- make DESTDIR="$pkgdir/" install
+ make PREFIX="/usr" DESTDIR="$pkgdir/" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment