public
Last active

Patched PKGBUILDs for libimobiledevice-git and usbmuxd-git

  • Download Gist
libimobiledevice.PKGBUILD
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 32 33 34 35 36 37 38
# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
 
pkgname=libimobiledevice-git
pkgver=1.1.0.406.g3c3a791
pkgrel=1
pkgdesc="libimobiledevice is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
url="http://www.libimobiledevice.org/"
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1')
depends=('gnutls' 'libgcrypt' 'glib2' 'libplist-git')
makedepends=('git' 'swig')
provides=('libiphone-git' 'libiphone' 'libimobiledevice=1.2')
conflicts=('libiphone-git' 'libiphone' 'libimobiledevice')
options=('libtool')
 
source="git+http://git.sukimashita.com/libimobiledevice.git"
sha512sums=('SKIP')
_gitname="libimobiledevice"
 
pkgver() {
cd $_gitname
local ver="$(git describe --long)"
printf "%s" "${ver//-/.}"
}
 
build() {
cd ${srcdir}/$_gitname
msg "Starting make..."
./autogen.sh --prefix=/usr --without-cython
make || return 1
}
 
package() {
cd $srcdir/$_gitname
make DESTDIR=$pkgdir install || return 1
}
 
# vim:set ts=2 #
usbmuxd.PKGBUILD
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
# Maintainer: Alex Brinister <alex_brinister at yahoo dot com>
 
pkgname=usbmuxd-git
pkgver=v1.0.8.37.g4f695aa
pkgrel=1
pkgdesc="A USB multiplexing daemon."
url="http://sukimashita.com/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glib2' 'libxml2' 'libimobiledevice-git')
makedepends=('git')
provides=('usbmuxd')
conflicts=('usbmuxd')
install='usbmuxd.install'
_gitname="usbmuxd"
source=("git+http://cgit.sukimashita.com/${_gitname}.git"
"usbmuxd.service")
sha512sums=('SKIP'
'9771b422e9b48e11a0c2ecaafda06ea9acee651afd4f7e7589e9704d60bd9eb014f6b737d1e279735225f68d910183c698949ee153275e0873940dae00911210')
 
pkgver() {
cd $srcdir/$_gitname
local ver="$(git describe --long)"
printf "%s" "${ver//-/.}"
}
build() {
cd ${srcdir}/$_gitname
 
msg "Starting make..."
 
 
./autogen.sh --prefix=/usr
make || return 1
}
 
package() {
 
cd ${srcdir}/$_gitname
 
make DESTDIR=${pkgdir} install || return 1
 
mkdir -p ${pkgdir}/usr/lib
 
# fix udev dir being hardcoded
mv -v ${pkgdir}/lib/udev ${pkgdir}/usr/lib/
rmdir ${pkgdir}/lib
 
# install systemd service files
install -D -m644 ${srcdir}/usbmuxd.service ${pkgdir}/usr/lib/systemd/system/usbmuxd.service
# use udev rule that works with systemd
install -m644 ${srcdir}/$_gitname/udev/39-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
}
 
# vim:set ts=2 sw=2:

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.