[arch-commits] Commit in (4 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Jan 4 10:26:36 UTC 2014
Date: Saturday, January 4, 2014 @ 11:26:35
Author: andrea
Revision: 103372
extra2community: Moving openobex from extra to community
Added:
openobex/
openobex/repos/
openobex/trunk/
openobex/trunk/PKGBUILD
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Added: openobex/trunk/PKGBUILD
===================================================================
--- openobex/trunk/PKGBUILD (rev 0)
+++ openobex/trunk/PKGBUILD 2014-01-04 10:26:35 UTC (rev 103372)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer:
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=openobex
+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' 'libxslt')
+options=('staticlibs' '!makeflags')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-Source.tar.gz)
+md5sums=('3181bfed9cb7db591605391068cb0085')
+
+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"
+}
Property changes on: openobex/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list