summaryrefslogtreecommitdiff
path: root/extra/libimobiledevice/PKGBUILD
blob: aefb7c4459bc9cc019a94d5eda0031bf491492a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 164735 2012-08-04 10:06:26Z tomegun $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Gabriel Martinez < reitaka at gmail dot com >

pkgname=libimobiledevice
pkgver=1.1.4
pkgrel=2
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' 'mips64el')
license=('GPL2' 'LGPL2.1')
depends=('usbmuxd' 'gnutls' 'libgcrypt')
options=('!libtool')
source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2
	HOME-segfault.patch)

build() {
  cd "$pkgname-$pkgver"

  patch -p0 < "$srcdir/HOME-segfault.patch"

  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}
md5sums=('3f28cbc6a2e30d34685049c0abde5183'
         '0de709dbf8e79d0b00cca06f5e61d57c')