# $Id$ # Maintainer : Ionut Biru # Contributor: Gabriel Martinez < reitaka at gmail dot com > pkgname=libimobiledevice pkgver=1.1.1 pkgrel=3 pkgdesc="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux" url="http://libimobiledevice.org/" arch=('i686' 'x86_64') license=('GPL2' 'LGPL2.1') depends=('glib2' 'gnutls' 'libgcrypt' 'libplist' 'usbmuxd') makedepends=('swig' 'python2') options=('!libtool') source=(http://libimobiledevice.org/downloads/${pkgname}-${pkgver}.tar.bz2 swig-version-check.patch ios5-lockdown-error-fix.patch) md5sums=('cdc13037e822d9ac2e109536701d153a' '8bb215e36fe0e08a72332c108c7842cc' '24a7e8b1b3e3bc8d8cb0a9755250b3e2') build() { cd "${srcdir}/${pkgname}-${pkgver}" # SWIG version check is wrong (still not fixed upstream) patch -p1 -i "$srcdir"/swig-version-check.patch #ios5 fix patch -p1 -i "$srcdir"/ios5-lockdown-error-fix.patch PYTHON=/usr/bin/python2 ./configure --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }