summaryrefslogtreecommitdiff
path: root/extra/libplist
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libplist')
-rw-r--r--extra/libplist/PKGBUILD24
1 files changed, 9 insertions, 15 deletions
diff --git a/extra/libplist/PKGBUILD b/extra/libplist/PKGBUILD
index 2a82efc5d..0121e951c 100644
--- a/extra/libplist/PKGBUILD
+++ b/extra/libplist/PKGBUILD
@@ -1,36 +1,30 @@
-# $Id: PKGBUILD 89629 2010-09-02 17:11:43Z remy $
+# $Id: PKGBUILD 120143 2011-04-20 11:59:42Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# 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
}