Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.