Created
November 20, 2017 02:33
-
-
Save tonylambiris/5ed22b5d997d970373a1a175503598fd to your computer and use it in GitHub Desktop.
Fix ubertooth-git build
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 8cecfb6..a00deea 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -15,11 +15,11 @@ build() { | |
cd "${srcdir}/${_gitname}-master/host/" | |
mkdir -p build | |
cd build | |
- cmake -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr .. | |
+ cmake -DCMAKE_INSTALL_PREFIX=/usr .. | |
make | |
} | |
package() { | |
cd "${srcdir}/${_gitname}-master/host/build/" | |
- make install | |
+ make DESTDIR="${pkgdir}" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment