2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 # Contributor: Gabriel Martinez < reitaka at gmail dot com >
9 pkgdesc="A library to handle Apple Property List format whereas it's binary or XML"
10 url="https://libimobiledevice.org/"
12 license=('GPL2' 'LGPL2.1')
14 makedepends=('python' 'cython' 'autoconf-archive' 'python-setuptools')
15 optdepends=('python: for the Python bindings')
16 source=(https://github.com/libimobiledevice/libplist/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2)
17 sha256sums=('4e8580d3f39d3dfa13cefab1a13f39ea85c4b0202e9305c5c8f63818182cac61')
21 ./configure --prefix=/usr
22 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
33 make DESTDIR="$pkgdir" install
34 install -D -m644 cython/plist.pxd "${pkgdir}"/usr/include/plist/cython/plist.pxd