blob: 479273b2241b871d49a1dc23c1db0d107a50647e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $Id: PKGBUILD 154114 2012-03-23 13:52:45Z ibiru $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Gabriel Martinez < reitaka at gmail dot com >
pkgname=libplist
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=('libxml2' 'python2')
makedepends=('cmake' 'cython2')
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 \
-DCYTHON_EXECUTABLE=/usr/bin/cython2 \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX:PATH=/usr
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|