Skip to content

Instantly share code, notes, and snippets.

@randomize
Created May 14, 2016 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save randomize/98f4e77a09f88f9a97adf843daf6d6bc to your computer and use it in GitHub Desktop.
Save randomize/98f4e77a09f88f9a97adf843daf6d6bc to your computer and use it in GitHub Desktop.
pkgname=libimobiledevice
pkgver=1.2.0
pkgrel=3
pkgdesc="Library that talks the protocols to support iPhone and iPod Touch devices on Linux"
url="https://github.com/libimobiledevice/libimobiledevice.git"
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1')
depends=('libusbmuxd')
makedepends=('python2')
source=("git+https://github.com/libimobiledevice/libimobiledevice.git")
md5sums=('SKIP')
prepare() {
cd "${srcdir}/libimobiledevice"
}
build() {
cd "${srcdir}/libimobiledevice"
./autogen.sh
PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-openssl
make
}
package() {
cd "${srcdir}/libimobiledevice"
make DESTDIR="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment