diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libopensync | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libopensync')
-rw-r--r-- | community/libopensync/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/libopensync/PKGBUILD b/community/libopensync/PKGBUILD new file mode 100644 index 000000000..bf1eed273 --- /dev/null +++ b/community/libopensync/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 66195 2012-02-23 03:06:28Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Hauke Wesselmann <hauke@h-dawg.de> +# Contributor: Laurie Clark-Michalek <bluepeppers@archlinux.us> + +pkgname=libopensync +pkgver=0.39 +pkgrel=4 +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 {} \; +} |