Last active
December 28, 2015 03:39
-
-
Save migerh/7436310 to your computer and use it in GitHub Desktop.
Patched PKGBUILDs for libimobiledevice-git and usbmuxd-git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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') | |
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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment