diff options
author | root <root@rshg047.dnsready.net> | 2011-07-13 23:12:30 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-13 23:12:30 +0000 |
commit | 29657877f6a02dbba1bd58b417b4ccd211939690 (patch) | |
tree | 0213b621a87e176f90d19cf8e894d1da8fd0d1b6 /community/usb_modeswitch/PKGBUILD | |
parent | 079c689ef9b252fd82dbf9b182ec2517c48f8737 (diff) |
Wed Jul 13 23:12:30 UTC 2011
Diffstat (limited to 'community/usb_modeswitch/PKGBUILD')
-rw-r--r-- | community/usb_modeswitch/PKGBUILD | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/community/usb_modeswitch/PKGBUILD b/community/usb_modeswitch/PKGBUILD index 5bfced05d..ab0ee832e 100644 --- a/community/usb_modeswitch/PKGBUILD +++ b/community/usb_modeswitch/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 42961 2011-03-22 21:16:11Z spupykin $ +# $Id: PKGBUILD 51652 2011-07-12 14:14:50Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=usb_modeswitch -pkgver=1.1.7 +pkgver=1.1.8 pkgrel=1 -_pkgdata=20110227 +_pkgdata=20110705 pkgdesc="Activating switchable USB devices on Linux." arch=('i686' 'x86_64') url="http://www.draisberghof.de/usb_modeswitch/" @@ -13,26 +13,31 @@ depends=('libusb-compat' 'tcl') 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") -md5sums=('b75e42b7b2d30e9d4cbd5c159f925247' - '2f5e5bfa21a97b705a22f95bec367793') + "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${_pkgdata}.tar.bz2" + "http://www.draisberghof.de/usb_modeswitch/device_reference.txt") +md5sums=('1aaaa45e0465843e4973d7778bfbafbb' + '5046e7be8d10d2fe699f9af21a0c3769' + 'c441eb16a3901052ce882ca844be2a20') build() { - cd $srcdir + cd $srcdir/usb-modeswitch-$pkgver/ + make clean + make +} +package() { cd $srcdir/usb-modeswitch-$pkgver/ + mkdir -p $pkgdir/lib/udev/usb_modeswitch mkdir -p $pkgdir/etc mkdir -p $pkgdir/usr/share/man/man1 - make clean - make make DESTDIR=${pkgdir} install 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 device_reference.txt $pkgdir/etc/usb_modeswitch.setup + cp $srcdir/device_reference.txt $pkgdir/etc/usb_modeswitch.setup cd $srcdir/usb-modeswitch-data-${_pkgdata} make DESTDIR=$pkgdir install |