summaryrefslogtreecommitdiff
path: root/community/usb_modeswitch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/usb_modeswitch/PKGBUILD')
-rw-r--r--community/usb_modeswitch/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/usb_modeswitch/PKGBUILD b/community/usb_modeswitch/PKGBUILD
index 606b24cb6..1e8402072 100644
--- a/community/usb_modeswitch/PKGBUILD
+++ b/community/usb_modeswitch/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 80001 2012-11-15 11:55:13Z spupykin $
+# $Id: PKGBUILD 91506 2013-05-23 10:15:55Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=usb_modeswitch
pkgver=1.2.5
-pkgrel=1
+pkgrel=2
_pkgdata=20121109
pkgdesc="Activating switchable USB devices on Linux."
arch=('i686' 'x86_64')
@@ -22,7 +22,7 @@ md5sums=('c393603908eceab95444c5bde790f6f0'
build() {
cd $srcdir/usb-modeswitch-$pkgver/
make clean
- make
+ make SBINDIR=/usr/bin
}
package() {
@@ -32,7 +32,7 @@ package() {
mkdir -p $pkgdir/etc
mkdir -p $pkgdir/usr/share/man/man1
- make DESTDIR=${pkgdir} UDEVDIR=${pkgdir}/usr/lib/udev install
+ make DESTDIR=${pkgdir} UDEVDIR=${pkgdir}/usr/lib/udev SBINDIR=$pkgdir/usr/bin install
cp $srcdir/usb-modeswitch-${pkgver}-device_reference.txt $pkgdir/etc/usb_modeswitch.setup