Skip to content

Instantly share code, notes, and snippets.

@leper leper/openobex.diff
Created Jun 20, 2018

Embed
What would you like to do?
diff --git a/PKGBUILD b/PKGBUILD
index aac083e..1ab7e14 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ url="http://dev.zuckschwerdt.org/openobex/"
arch=('x86_64' 'i686')
license=('GPL' 'LGPL')
depends=('libusbx' 'bluez-libs')
-makedepends=('cmake' 'libxslt' 'doxygen' 'java-environment')
+makedepends=('cmake')
options=('staticlibs' '!makeflags')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-Source.tar.gz)
md5sums=('f6e0b6cb7dcfd731460a7e9a91429a3a')
@@ -26,11 +26,12 @@ build() {
cmake ../${pkgname}-${pkgver}-Source \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
+ -DBUILD_DOCUMENTATION=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_SBINDIR=/usr/bin \
-DCMAKE_INSTALL_UDEVRULESDIR=/usr/lib/udev/rules.d
- make all openobex-apps
+ make openobex-apps
}
package() {
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.