[arch-commits] Commit in libplist/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Fri Mar 23 09:51:53 EDT 2012


    Date: Friday, March 23, 2012 @ 09:51:52
  Author: ibiru
Revision: 154113

update to 1.8

Modified:
  libplist/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-23 12:54:10 UTC (rev 154112)
+++ PKGBUILD	2012-03-23 13:51:52 UTC (rev 154113)
@@ -3,28 +3,29 @@
 # Contributor: Gabriel Martinez < reitaka at gmail dot com >
 
 pkgname=libplist
-pkgver=1.4
+pkgver=1.8
 pkgrel=1
 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=('2ad226abe1131a72e7ecbb2b921ad92f54b8e787c2281c89b00145b519479a71')
+depends=('libxml2' 'python2')
+makedepends=('cmake' 'cython2')
+source=(http://www.libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
+sha256sums=('a418da3880308199b74766deef2a760a9b169b81a868a6a9032f7614e20500ec')
 
 build() {
-  cd "${srcdir}"
   mkdir build
   cd build
-  cmake ../"${pkgname}-${pkgver}" \
+  cmake ../"$pkgname-$pkgver" \
+      -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+      -DCYTHON_EXECUTABLE=/usr/bin/cython2 \
       -DCMAKE_SKIP_RPATH=ON \
       -DCMAKE_INSTALL_PREFIX:PATH=/usr
   make
 }
 
 package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list