summaryrefslogtreecommitdiff
path: root/community/usb_modeswitch/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-25 00:28:13 -0700
committerroot <root@rshg054.dnsready.net>2013-05-25 00:28:13 -0700
commit2333a0e547f378ad697f35312d6ba6d3fbafb2c8 (patch)
treecb9c92701c40feb373936bffe4190081f8253170 /community/usb_modeswitch/PKGBUILD
parent0520c5091743d9910278e53fa32470b096825fb3 (diff)
Sat May 25 00:28:12 PDT 2013
Diffstat (limited to 'community/usb_modeswitch/PKGBUILD')
-rw-r--r--community/usb_modeswitch/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/usb_modeswitch/PKGBUILD b/community/usb_modeswitch/PKGBUILD
index 1e8402072..9f2ec6816 100644
--- a/community/usb_modeswitch/PKGBUILD
+++ b/community/usb_modeswitch/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 91506 2013-05-23 10:15:55Z spupykin $
+# $Id: PKGBUILD 91584 2013-05-24 18:58:11Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=usb_modeswitch
pkgver=1.2.5
-pkgrel=2
+pkgrel=3
_pkgdata=20121109
pkgdesc="Activating switchable USB devices on Linux."
arch=('i686' 'x86_64')
@@ -19,6 +19,11 @@ md5sums=('c393603908eceab95444c5bde790f6f0'
'a7d23a03157871013a0d708ab2b1b6df'
'9918bbdc0f68873410688604c80d25c4')
+prepare() {
+ cd $srcdir/usb-modeswitch-$pkgver/
+ sed -i 's|/usr/sbin/usb_mode|/usr/bin/usb_mode|g' usb_modeswitch.{conf,tcl,sh}
+}
+
build() {
cd $srcdir/usb-modeswitch-$pkgver/
make clean