1 # Maintainer : Ionut Biru <ibiru@archlinux.org>
2 # Contributor: Gabriel Martinez < reitaka at gmail dot com >
7 pkgdesc="USB Multiplex Daemon"
8 url="https://marcansoft.com/blog/iphonelinux/usbmuxd/"
10 license=('GPL2' 'GPL3')
11 depends=('libimobiledevice' 'libusb' 'libplist')
12 makedepends=('git' 'systemd')
13 _commit=79c8b38d1488a6b07e1e68f39d8caec3f1a45622 # tags/1.1.1
15 "git+https://github.com/libimobiledevice/usbmuxd#commit=$_commit"
20 '67a843cd95e750555d1c43c4d01cc90e325ae1b69a5b24bb0e72480b903064f81baeaaa9e1dd95758b456b1444ed869b099be903d6533bb7f5dfe88a87ca1d4e'
21 '483559477f83f59933d95a8279b21abf92a9d5ad6fe29802ff8966b4a94a79ac80d11f7fc0648846a189484b9f3a7ffa3bd8337940aa255a13ae78b61bb556f4')
25 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
31 # Compatibility with libplist 2.3.0
32 git apply -3 ../libplist-2.3.0.diff
34 NOCONFIGURE=1 ./autogen.sh
44 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
50 make DESTDIR="${pkgdir}" install
52 install -Dm644 "$srcdir"/usbmuxd.sysusers "$pkgdir"/usr/lib/sysusers.d/usbmuxd.conf