1 # Maintainer: sebikul <sebikul@gmail.com>
2 # Contributor: Matias Hernandez <msdark@archlinux.cl>
4 pkgname=libimobiledevice-git
7 pkgdesc="libimobiledevice is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
8 url="http://www.libimobiledevice.org/"
10 license=('GPL2' 'LGPL2.1')
11 depends=('gnutls' 'libgcrypt' 'glib2' 'libplist' 'usbmuxd')
12 makedepends=('swig' 'python2')
13 provides=('libiphone-git' 'libiphone' 'libimobiledevice=1.2')
14 conflicts=('libiphone-git' 'libiphone' 'libimobiledevice')
21 md5sums=() #generate with 'makepkg -g'
23 _gitroot="git://git.sukimashita.com/libimobiledevice.git"
24 _gitname="libimobiledevice"
28 msg "Connecting to GIT server...."
30 if [ -d $_gitname ] ; then
31 cd $_gitname && git pull origin
32 msg "The local files are updated."
34 git clone $_gitroot $_gitname
37 msg "GIT checkout done or server timeout"
38 msg "Starting make..."
40 rm -rf "$srcdir/$_gitname-build"
41 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
42 cd "$srcdir/$_gitname-build"
47 PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --without-swig
49 make DESTDIR="$pkgdir/" install