diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/libplist |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/libplist')
-rw-r--r-- | extra/libplist/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/extra/libplist/PKGBUILD b/extra/libplist/PKGBUILD new file mode 100644 index 000000000..2a82efc5d --- /dev/null +++ b/extra/libplist/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 89629 2010-09-02 17:11:43Z remy $ +# Maintainer : Ionut Biru <ibiru@archlinux.org> +# Contributor: Gabriel Martinez < reitaka at gmail dot com > + +pkgname=libplist +pkgver=1.3 +pkgrel=2 +pkgdesc="A library to handle Apple Property List format whereas it's binary or XML" +url="http://libimobiledevice.org/" +arch=('i686' 'x86_64') +license=('GPL2' 'LGPL2.1') +depends=('glib2>=2.24.1' 'libxml2>=2.7.7') +makedepends=('cmake' 'swig' 'python2') +source=(http://cloud.github.com/downloads/JonathanBeck/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('982c8aac59cdc3fafc925a407a29b6cf367c5ec9bad6ad509fe5ea25d3e5b6b0') + +build() { + # CMake is not patched yet + cd "${srcdir}/${pkgname}-${pkgver}/cmake/modules" + cp /usr/share/cmake-2.8/Modules/FindPython*.cmake . + sed -i -e 's#2.6#2.7 2.6#' FindPythonLibs.cmake + sed -i -e 's#python2.6#python2.7 python2.6#' FindPythonInterp.cmake + + cd "${srcdir}" + mkdir build + cd build + cmake ../"${pkgname}-${pkgver}" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr + make || return 1 +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install || return 1 +} |