summaryrefslogtreecommitdiff
path: root/extra/usbmuxd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/usbmuxd/PKGBUILD')
-rw-r--r--extra/usbmuxd/PKGBUILD47
1 files changed, 22 insertions, 25 deletions
diff --git a/extra/usbmuxd/PKGBUILD b/extra/usbmuxd/PKGBUILD
index beb49de32..a0958f859 100644
--- a/extra/usbmuxd/PKGBUILD
+++ b/extra/usbmuxd/PKGBUILD
@@ -1,45 +1,42 @@
-# $Id: PKGBUILD 187073 2013-06-03 11:16:58Z allan $
+# $Id: PKGBUILD 210549 2014-04-14 20:13:37Z jgc $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Gabriel Martinez < reitaka at gmail dot com >
pkgname=usbmuxd
-pkgver=1.0.8
-pkgrel=2
+pkgver=1.0.9
+pkgrel=1
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch=('i686' 'x86_64')
-license=('GPL2' 'GPL3' 'LGPL2.1')
-depends=('libusb' 'libplist')
-makedepends=('cmake')
+license=('GPL2' 'GPL3')
+depends=('libimobiledevice')
+makedepends=('git')
install=usbmuxd.install
-source=("http://cgit.sukimashita.com/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.bz2"
+source=("git+http://git.sukimashita.com/usbmuxd.git#commit=c92b4f59aba053a3df1ae67c49403122650ad996"
'usbmuxd.service'
- '85-usbmuxd.rules')
+ '39-usbmuxd.rules')
+md5sums=('SKIP'
+ 'dae0660f972510a6483992b5b81e1b5a'
+ 'dc4b2893651149eccbf7b2c8467cd288')
+
+prepare() {
+ cd usbmuxd
+ sed -i -e 's|udevrulesdir = /lib/udev/rules.d|udevrulesdir = /usr/lib/udev/rules.d|' Makefile.am
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- echo "${pkgver}" > version.tag
- mkdir build
- cd build
- cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
+ cd usbmuxd
+ NOCONFIGURE=1 ./autogen.sh
+ ./configure --prefix=/usr --sbindir=/usr/bin
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
+ cd usbmuxd
make DESTDIR="${pkgdir}" install
- # fix udev dir being hardcoded
- mv "${pkgdir}/lib/udev" "${pkgdir}/usr/lib/"
- rmdir "${pkgdir}/lib"
- # usrmove
- mv "${pkgdir}/usr/sbin/"* "${pkgdir}/usr/bin/"
- rmdir "${pkgdir}/usr/sbin"
# install systemd service file
- install -D -m644 ${srcdir}/usbmuxd.service ${pkgdir}/usr/lib/systemd/system/usbmuxd.service
+ install -D -m644 ../usbmuxd.service "${pkgdir}/usr/lib/systemd/system/usbmuxd.service"
# use udev rule that works with systemd
- install -m644 ${srcdir}/85-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
+ install -m644 ../39-usbmuxd.rules "${pkgdir}/usr/lib/udev/rules.d/"
}
-md5sums=('87fd27773a84e97ac6e2dc28b08d682e'
- 'dae0660f972510a6483992b5b81e1b5a'
- 'dc4b2893651149eccbf7b2c8467cd288')