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

Tobias Powalowski tpowa at archlinux.org
Fri Dec 7 08:05:53 EST 2007


    Date: Friday, December 7, 2007 @ 08:05:53
  Author: tpowa
    Path: /home/cvs-extra/extra/lib/libopensync

Modified: PKGBUILD (1.1 -> 1.2)

'upgpkg: update to new version'


----------+
 PKGBUILD |   29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)


Index: extra/lib/libopensync/PKGBUILD
diff -u extra/lib/libopensync/PKGBUILD:1.1 extra/lib/libopensync/PKGBUILD:1.2
--- extra/lib/libopensync/PKGBUILD:1.1	Sun May 27 09:30:20 2007
+++ extra/lib/libopensync/PKGBUILD	Fri Dec  7 08:05:53 2007
@@ -1,27 +1,28 @@
-# $Id: PKGBUILD,v 1.1 2007/05/27 13:30:20 tpowa Exp $ 
+# $Id: PKGBUILD,v 1.2 2007/12/07 13:05:53 tpowa Exp $ 
 # Contributor: William Rea <sillywilly at gmail.com> , Robert Emil Berge <filoktetes at linuxophic.org>
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=libopensync
-pkgver=0.22
-pkgrel=2
+pkgver=0.34
+pkgrel=1
 pkgdesc="Library for OpenSync Standardized Synchronization Framework"
 arch=('i686' 'x86_64')
 url="http://www.opensync.org"
 options=('!libtool')
 license="LGPL"
-makedepends=('python')
+makedepends=('python' 'cmake')
 depends=('glib2' 'libxml2' 'sqlite3')
-source=("http://www.opensync.org/attachment/wiki/download/libopensync-$pkgver.tar.bz2?rev=&format=raw")
+source=(http://www.opensync.org/download/releases/0.34/libopensync-$pkgver.tar.bz2)
 
 build() {
-  cd $startdir/src
-  mv "libopensync-$pkgver.tar.bz2?rev=&format=raw" libopensync-$pkgver.tar.bz2
-  tar xjf libopensync-$pkgver.tar.bz2
-  cd libopensync-$pkgver
-  ./configure --prefix=/usr --libexecdir=/usr/lib/opensync
-  sed -i 's/-Werror//' wrapper/Makefile
-  make || return 1
-  make DESTDIR=$startdir/pkg install
+  # start building
+  cd $startdir/src/
+  mkdir build 
+  cd build
+  cmake ../$pkgname-$pkgver -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
+
+  make VERBOSE=1 || return 1
+  make DESTDIR=$startdir/pkg install || return 1
 }
-md5sums=('f563ce2543312937a9afb4f8445ef932')
+
+md5sums=('bf18a1d79c44c7e6714e3f75548e11de')




More information about the arch-commits mailing list