Skip to content

Instantly share code, notes, and snippets.

@tonylambiris
Created November 20, 2017 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tonylambiris/5ed22b5d997d970373a1a175503598fd to your computer and use it in GitHub Desktop.
Save tonylambiris/5ed22b5d997d970373a1a175503598fd to your computer and use it in GitHub Desktop.
Fix ubertooth-git build
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