Date: Monday, May 27, 2013 @ 09:46:37
  Author: andrea
Revision: 186474

upgpkg: openobex 1.7-2

Fix libdir in pkg-config file

Modified:
  openobex/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-05-27 06:51:38 UTC (rev 186473)
+++ PKGBUILD    2013-05-27 07:46:37 UTC (rev 186474)
@@ -1,28 +1,31 @@
 # $Id$
-# Maintainer: Geoffroy Carrier <geoff...@archlinux.org>
+# Maintainer:
+# Contributor: Geoffroy Carrier <geoff...@archlinux.org>
 # Contributor: Andrea Scarpino <and...@archlinux.org>
 # Contributor: damir <da...@archlinux.org>
 
 pkgname=openobex
 pkgver=1.7
-pkgrel=1
+pkgrel=2
 pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
 url="http://dev.zuckschwerdt.org/openobex/";
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL')
 depends=('bluez' 'libusb-compat')
 makedepends=('cmake')
-options=('!libtool' '!makeflags')
+options=('!makeflags')
 
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-Source.tar.gz)
 md5sums=('11031f6f0b876bb6259bd27106491528')
 
 build() {
-  [ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
   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=bin 
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_INSTALL_SBINDIR=bin
   make all openobex-apps
 }
 

Reply via email to