1 # Contributor: Tom Gundersen <teg@jklm.no>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Gabriel Martinez < reitaka at gmail dot com >
5 pkgname=libimobiledevice
8 pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux"
9 url="https://libimobiledevice.org/"
11 license=(GPL2 LGPL2.1)
26 provides=(libimobiledevice-1.0.so)
27 _commit=15f8652126664e3a4b980e5d1c039b9053ce8566
29 "git+https://github.com/libimobiledevice/libimobiledevice#commit=$_commit"
33 '136390910a57e70c3ce458ab5c6def4e079b7eb4c2946447102078ca511f8d112caf9460c074ecbb6c8a4f526e0aa50015d2f92acf66dbbb666bd007e361ee5e')
37 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
43 # Update ac_python_devel.m4 to newer ax_python_devel.m4
44 git cherry-pick -n eea4f1be91
46 # Compatibility with libplist 2.3.0
47 git apply -3 ../libplist-2.3.0.diff
49 NOCONFIGURE=1 ./autogen.sh
54 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
56 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
67 make DESTDIR="$pkgdir" install
70 # vim:set sw=2 sts=-1 et: