summaryrefslogtreecommitdiffstats
path: root/abs/extra/usbmuxd/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-03-07 17:51:42 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-03-07 17:51:42 (GMT)
commit4c44c7fa3ce44ac09e044d41dde9e428c09de1c0 (patch)
tree45f9c4705febf9e6249b4a29557ac86b08ed21e1 /abs/extra/usbmuxd/PKGBUILD
parent0230fddb88133838d0d50d8a6a49eef3510f1080 (diff)
downloadlinhes_pkgbuild-4c44c7fa3ce44ac09e044d41dde9e428c09de1c0.zip
linhes_pkgbuild-4c44c7fa3ce44ac09e044d41dde9e428c09de1c0.tar.gz
linhes_pkgbuild-4c44c7fa3ce44ac09e044d41dde9e428c09de1c0.tar.bz2
usbmuxd: update binary path. refs #961
Diffstat (limited to 'abs/extra/usbmuxd/PKGBUILD')
-rw-r--r--abs/extra/usbmuxd/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/abs/extra/usbmuxd/PKGBUILD b/abs/extra/usbmuxd/PKGBUILD
index 885dcae..3282c08 100644
--- a/abs/extra/usbmuxd/PKGBUILD
+++ b/abs/extra/usbmuxd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 164371 2012-07-31 19:43:35Z eric $
+# $Id$
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Gabriel Martinez < reitaka at gmail dot com >
pkgname=usbmuxd
pkgver=1.0.8
-pkgrel=1
+pkgrel=2
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
arch=('i686' 'x86_64')
@@ -32,10 +32,13 @@ package() {
# 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
# use udev rule that works with systemd
- install -m644 ${srcdir}/85-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
+ install -m644 ${srcdir}/85-usbmuxd.rules ${pkgdir}/usr/lib/udev/rules.d/
#fix version
sed -i "s/Version.*$/Version: ${pkgver}/g" $pkgdir/usr/lib/pkgconfig/libusbmuxd.pc