[arch-commits] Commit in usbmuxd/trunk (PKGBUILD usbmuxd-udevuser.patch)

Ionut Biru ibiru at archlinux.org
Fri Jul 8 11:48:48 EDT 2011


    Date: Friday, July 8, 2011 @ 11:48:48
  Author: ibiru
Revision: 130891

update to 1.0.7

Modified:
  usbmuxd/trunk/PKGBUILD
Deleted:
  usbmuxd/trunk/usbmuxd-udevuser.patch

------------------------+
 PKGBUILD               |   15 ++++++++-------
 usbmuxd-udevuser.patch |   11 -----------
 2 files changed, 8 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-07-08 15:36:09 UTC (rev 130890)
+++ PKGBUILD	2011-07-08 15:48:48 UTC (rev 130891)
@@ -3,8 +3,8 @@
 # Contributor: Gabriel Martinez < reitaka at gmail dot com >
 
 pkgname=usbmuxd
-pkgver=1.0.6
-pkgrel=2
+pkgver=1.0.7
+pkgrel=1
 pkgdesc="USB Multiplex Daemon"
 url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
 arch=('i686' 'x86_64')
@@ -12,17 +12,18 @@
 depends=('libusb>=1.0.8')
 makedepends=('cmake')
 install=usbmuxd.install
-source=(http://marcansoft.com/uploads/${pkgname}/${pkgname}-${pkgver}.tar.bz2
-	usbmuxd-udevuser.patch)
-md5sums=('c8909cfd9253d8d1a5e26f2ff7e5908b'
-         '299349dcacd60af9dceecec1ceebce06')
+source=(http://marcansoft.com/uploads/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('6f431541f3177fa06aa6df9ceecb2da0')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/usbmuxd-udevuser.patch"
   mkdir build
   cd build
   cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr -DLIB_SUFFIX=""
   make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build"
   make DESTDIR="${pkgdir}" install
 }

Deleted: usbmuxd-udevuser.patch
===================================================================
--- usbmuxd-udevuser.patch	2011-07-08 15:36:09 UTC (rev 130890)
+++ usbmuxd-udevuser.patch	2011-07-08 15:48:48 UTC (rev 130891)
@@ -1,11 +0,0 @@
---- usbmuxd-1.0.6/udev/85-usbmuxd.rules.in.orig	2010-11-09 04:23:44.873368717 -0800
-+++ usbmuxd-1.0.6/udev/85-usbmuxd.rules.in	2010-11-09 04:24:13.986655838 -0800
-@@ -1,7 +1,7 @@
- # usbmuxd (iPhone "Apple Mobile Device" MUXer listening on /var/run/usbmuxd)
- 
- # Forces iPhone 1.0, 3G, 3GS, iPodTouch 1/2 and iPad to USB configuration 3 and run usbmuxd
--ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux"
-+ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac", ATTR{idProduct}=="129[0-9a-f]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurationValue}="$attr{bNumConfigurations}", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -u -U usbmux"
- 
- # Exit usbmuxd when the last device is removed
- ACTION=="remove", SUBSYSTEM=="usb", ENV{PRODUCT}=="5ac/129[0-9a-f]/*", ENV{INTERFACE}=="255/*", RUN+="@CMAKE_INSTALL_PREFIX@/sbin/usbmuxd -x"



More information about the arch-commits mailing list