From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/libopensync/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 community/libopensync/PKGBUILD (limited to 'community/libopensync/PKGBUILD') diff --git a/community/libopensync/PKGBUILD b/community/libopensync/PKGBUILD new file mode 100644 index 000000000..9fb84c0be --- /dev/null +++ b/community/libopensync/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: $ +# Maintainer: Sergej Pupykin +# Contributor: Hauke Wesselmann +# Contributor: Laurie Clark-Michalek + +pkgname=libopensync +pkgver=0.39 +pkgrel=3 +pkgdesc='Stable version of the opensync synchronisation framework' +url='http://www.opensync.org' +license=('LGPL') +arch=('i686' 'x86_64') +makedepends=('python2' 'cmake' 'chrpath') +depends=('glib2' 'libxml2' 'sqlite3' 'libxslt') +options=('!libtool') +source=(http://www.opensync.org/download/releases/$pkgver/$pkgname-$pkgver.tar.bz2) +md5sums=('733211e82b61e2aa575d149dda17d475') + +build() { + cd $srcdir/$pkgname-$pkgver + + #disable treating of warnings as errors + find /$(pwd) -type f -exec sed -i 's/-Werror//g' '{}' \; + + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr $srcdir/$pkgname-$pkgver + make + make DESTDIR=$pkgdir install + + find $pkgdir -name \*.so -type f -exec chrpath -d {} \; + find $pkgdir -perm /ugo+x -type f -exec chrpath -d {} \; +} -- cgit v1.2.3-54-g00ecf