summaryrefslogtreecommitdiffstats
path: root/libplist/Pkgfile
blob: 6e92bd3555d7100177a02a37896e8809fbce507a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: A library to handle Apple Property List format whereas it's binary or XML 
# URL: http://libimobiledevice.org
# Packager: lesibel at free dot fr
# Maintainer: Gabriel Martinez < reitaka at gmail dot com >
# Depends on: libxml2
# Run on: libxml2

name=libplist
version=1.8
release=1
source=(http://www.libimobiledevice.org/downloads/$name-$version.tar.bz2)

build() {
	mkdir build
  	cd build
  	cmake ../$name-$version \
      		-DPYTHON_EXECUTABLE=/usr/bin/python2 \
      		-DCMAKE_SKIP_RPATH=ON \
      		-DCMAKE_INSTALL_PREFIX:PATH=/usr
  	make
	make DESTDIR=$PKG install
}