Date: Monday, November 28, 2016 @ 20:00:32 Author: arojas Revision: 197182
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: openobex/repos/community-testing-i686/ openobex/repos/community-testing-i686/PKGBUILD (from rev 197181, openobex/trunk/PKGBUILD) openobex/repos/community-testing-x86_64/ openobex/repos/community-testing-x86_64/PKGBUILD (from rev 197181, openobex/trunk/PKGBUILD) -----------------------------------+ community-testing-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++ community-testing-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) Copied: openobex/repos/community-testing-i686/PKGBUILD (from rev 197181, openobex/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-11-28 20:00:32 UTC (rev 197182) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: +# Contributor: Geoffroy Carrier <geoff...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=openobex +pkgver=1.7.2 +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' 'libxslt' 'doxygen' 'java-environment') +options=('staticlibs' '!makeflags') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-Source.tar.gz) +md5sums=('f6e0b6cb7dcfd731460a7e9a91429a3a') + +prepare() { + 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 \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_INSTALL_SBINDIR=/usr/bin + make all openobex-apps +} + +package() { + cd build + 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" +} Copied: openobex/repos/community-testing-x86_64/PKGBUILD (from rev 197181, openobex/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-11-28 20:00:32 UTC (rev 197182) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: +# Contributor: Geoffroy Carrier <geoff...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: damir <da...@archlinux.org> + +pkgname=openobex +pkgver=1.7.2 +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' 'libxslt' 'doxygen' 'java-environment') +options=('staticlibs' '!makeflags') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-Source.tar.gz) +md5sums=('f6e0b6cb7dcfd731460a7e9a91429a3a') + +prepare() { + 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 \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_INSTALL_SBINDIR=/usr/bin + make all openobex-apps +} + +package() { + cd build + 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" +}