summaryrefslogtreecommitdiff
path: root/gnome-unstable/libimobiledevice/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-25 00:02:31 +0000
committerroot <root@rshg054.dnsready.net>2012-03-25 00:02:31 +0000
commit891f44722456b693d99b397f7e332a9ed68a47a2 (patch)
tree84b486efdd046bf1ac54f9288d13a443874be342 /gnome-unstable/libimobiledevice/PKGBUILD
parentadac5afd500d4ee3a65035e1cf5353ae236b4a61 (diff)
Sun Mar 25 00:02:31 UTC 2012
Diffstat (limited to 'gnome-unstable/libimobiledevice/PKGBUILD')
-rw-r--r--gnome-unstable/libimobiledevice/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnome-unstable/libimobiledevice/PKGBUILD b/gnome-unstable/libimobiledevice/PKGBUILD
new file mode 100644
index 000000000..49c782fbf
--- /dev/null
+++ b/gnome-unstable/libimobiledevice/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 154116 2012-03-23 14:00:54Z ibiru $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libimobiledevice
+pkgver=1.1.2
+pkgrel=1
+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=('usbmuxd' 'libplist')
+makedepends=('python2' 'cython2')
+options=('!libtool')
+source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
+md5sums=('82851e4ca9794ee660ffca9f78c8e068')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ mkdir "$srcdir/cython2-path"
+ ln -s /usr/bin/cython2 "$srcdir/cython2-path/cython"
+ export PATH="$srcdir/cython2-path:$PATH"
+
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}