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/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/usb_modeswitch/PKGBUILD b/community/usb_modeswitch/PKGBUILD
index 250bbee37..a029909b8 100644
--- a/community/usb_modeswitch/PKGBUILD
+++ b/community/usb_modeswitch/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 58972 2011-11-20 18:14:02Z spupykin $
+# $Id: PKGBUILD 61364 2011-12-28 19:37:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=usb_modeswitch
-pkgver=1.2.0
+pkgver=1.2.1
pkgrel=1
_pkgdata=20111023
pkgdesc="Activating switchable USB devices on Linux."
@@ -14,8 +14,8 @@ makedepends=('gcc' 'make')
backup=("etc/$pkgname.conf")
source=("http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${pkgver}.tar.bz2"
"http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${_pkgdata}.tar.bz2"
- "http://www.draisberghof.de/usb_modeswitch/device_reference.txt")
-md5sums=('1932ab96d6e3c5e0a6bdfac863338627'
+ "usb-modeswitch-${pkgver}-device_reference.txt::http://www.draisberghof.de/usb_modeswitch/device_reference.txt")
+md5sums=('d228f74e4045e1ba05d80db4fe0f4144'
'6e7cb67d0428bda241600b038ba11aeb'
'1378c0319520c817d49c7e9457c7d6e3')
@@ -37,7 +37,7 @@ package() {
mv ${pkgdir}/lib/udev/usb_modeswitch/usb_modeswitch.sh ${pkgdir}/lib/udev/usb_modeswitch.sh
rmdir ${pkgdir}/lib/udev/usb_modeswitch
mv ${pkgdir}/lib/udev/usb_modeswitch.sh ${pkgdir}/lib/udev/usb_modeswitch
- cp $srcdir/device_reference.txt $pkgdir/etc/usb_modeswitch.setup
+ cp $srcdir/usb-modeswitch-${pkgver}-device_reference.txt $pkgdir/etc/usb_modeswitch.setup
cd $srcdir/usb-modeswitch-data-${_pkgdata}
make DESTDIR=$pkgdir install