diff options
Diffstat (limited to 'extra/openobex')
-rw-r--r-- | extra/openobex/PKGBUILD | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/extra/openobex/PKGBUILD b/extra/openobex/PKGBUILD index 32241ad96..0b058e2e3 100644 --- a/extra/openobex/PKGBUILD +++ b/extra/openobex/PKGBUILD @@ -1,27 +1,28 @@ -# $Id: PKGBUILD 187866 2013-06-07 09:25:02Z tomegun $ +# $Id: PKGBUILD 199321 2013-11-10 20:21:49Z eric $ # Maintainer: # Contributor: Geoffroy Carrier <geoffroy@archlinux.org> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: damir <damir@archlinux.org> pkgname=openobex -pkgver=1.7 -pkgrel=6 +pkgver=1.7.1 +pkgrel=1 pkgdesc="Implementation of the OBject EXchange (OBEX) protocol" url="http://dev.zuckschwerdt.org/openobex/" arch=('i686' 'x86_64') license=('GPL' 'LGPL') depends=('libusbx' 'bluez-libs') -makedepends=('cmake') -options=('!makeflags') +makedepends=('cmake' 'libxslt') +options=('staticlibs' '!makeflags') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-Source.tar.gz) -md5sums=('11031f6f0b876bb6259bd27106491528') +md5sums=('3181bfed9cb7db591605391068cb0085') prepare() { - mkdir build + sed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|' ${pkgname}-${pkgver}-Source/udev/openobex.rules.in } build() { + mkdir build cd build cmake ../${pkgname}-${pkgver}-Source \ -DCMAKE_BUILD_TYPE=Release \ @@ -37,9 +38,4 @@ package() { make DESTDIR="${pkgdir}" install cp ../${pkgname}-${pkgver}-Source/apps/lib/*.h "${pkgdir}/usr/include/openobex/" install -m644 apps/lib/libopenobex-apps-common.a "${pkgdir}/usr/lib/libopenobex-apps-common.a" - - # usrmove - cd "$pkgdir" - mv lib/udev usr/lib/ - rmdir lib } |