[arch-commits] CVS update of extra/lib/libbtctl (PKGBUILD)

Varun Acharya varun at archlinux.org
Sun Oct 7 14:00:04 UTC 2007


    Date: Sunday, October 7, 2007 @ 10:00:04
  Author: varun
    Path: /home/cvs-extra/extra/lib/libbtctl

Modified: PKGBUILD (1.12 -> 1.13)

reverted cvs changes-error uploading new package


----------+
 PKGBUILD |   45 ++++++++++++++++++++++++++-------------------
 1 file changed, 26 insertions(+), 19 deletions(-)


Index: extra/lib/libbtctl/PKGBUILD
diff -u extra/lib/libbtctl/PKGBUILD:1.12 extra/lib/libbtctl/PKGBUILD:1.13
--- extra/lib/libbtctl/PKGBUILD:1.12	Sun Oct  7 09:38:47 2007
+++ extra/lib/libbtctl/PKGBUILD	Sun Oct  7 10:00:03 2007
@@ -1,28 +1,35 @@
-# $Id: PKGBUILD,v 1.12 2007/10/07 13:38:47 varun Exp $
+# $Id: PKGBUILD,v 1.13 2007/10/07 14:00:03 varun Exp $
 # Maintainer: Mark Rosenstand <mark at archlinux.org>
 pkgname=libbtctl
-pkgver=0.9.0
-pkgrel=1
+pkgver=0.8.2
+pkgrel=2
 pkgdesc="GObject wrapper for Bluetooth functionality."
 arch=(i686 x86_64)
 url="http://www.usefulinc.com/software/gnome-bluetooth/"
 license=(GPL)
-depends=('glib2>=2.14.1' 'openobex>=1.3')
+depends=('glib2>=2.12.3' 'openobex>=1.3')
 makedepends=('intltool' 'python' 'gtk-sharp')
-options=('!libtool')
-source=(http://ftp.gnome.org/pub/GNOME/sources/libbtctl/0.9/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('e0600276046ac3c1d839fb54cff117e2')
+options=('nolibtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/libbtctl/0.8/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('00966e109db14f14589739a85fe00941')
 
 build() {
-  export MAKEFLAGS="-j1"
-  export MONO_SHARED_DIR=${startdir}/src/.wabi
-  mkdir -p ${MONO_SHARED_DIR}
-
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr \
-    --disable-gtk-doc --enable-mono 
-  make || return 1
-  make DESTDIR=${startdir}/pkg install
-
-  rm -rf $MONO_SHARED_DIR
-}
+  [ -z "${GNOMEDIR}" ] && . /etc/profile.d/gnome.sh
+    export MAKEFLAGS="-j1"
+    
+      if [ "${CARCH}" = "x86_64" ]; then
+            export CFLAGS="${CFLAGS} -fPIC"
+                  export CXXFLAGS="${CXXFLAGS} -fPIC"
+                    fi
+                    
+                      export MONO_SHARED_DIR=${startdir}/src/.wabi
+                        mkdir -p ${MONO_SHARED_DIR}
+                        
+                          cd ${startdir}/src/${pkgname}-${pkgver}
+                            ./configure --prefix=/usr \
+                                --disable-gtk-doc --enable-mono 
+                                  make || return 1
+                                    make DESTDIR=${startdir}/pkg install
+                                    
+                                      rm -rf $MONO_SHARED_DIR
+                                      }




More information about the arch-commits mailing list