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

Ionut Biru ibiru at archlinux.org
Wed Apr 20 11:59:43 UTC 2011


    Date: Wednesday, April 20, 2011 @ 07:59:42
  Author: ibiru
Revision: 120143

update to 1.4

Modified:
  libplist/trunk/PKGBUILD

----------+
 PKGBUILD |   22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-04-20 11:52:47 UTC (rev 120142)
+++ PKGBUILD	2011-04-20 11:59:42 UTC (rev 120143)
@@ -3,34 +3,28 @@
 # Contributor: Gabriel Martinez < reitaka at gmail dot com >
 
 pkgname=libplist
-pkgver=1.3
-pkgrel=2
+pkgver=1.4
+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>=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')
+depends=('glib2' 'libxml2' 'python2')
+makedepends=('cmake' 'swig')
+source=(http://www.libimobiledevice.org/downloads/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('2ad226abe1131a72e7ecbb2b921ad92f54b8e787c2281c89b00145b519479a71')
 
 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
+  make
 }
 
 package() {
   cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install || return 1
+  make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list