summaryrefslogtreecommitdiff
path: root/testing/libplist/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libplist/PKGBUILD')
-rw-r--r--testing/libplist/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/libplist/PKGBUILD b/testing/libplist/PKGBUILD
new file mode 100644
index 000000000..d48b560e5
--- /dev/null
+++ b/testing/libplist/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 155204 2012-04-01 11:35:32Z heftig $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libplist
+pkgver=1.8
+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' 'libxml2' 'python2')
+makedepends=('cmake' 'swig')
+source=(http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
+sha256sums=('a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX:PATH=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}