From 29657877f6a02dbba1bd58b417b4ccd211939690 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Jul 2011 23:12:30 +0000 Subject: Wed Jul 13 23:12:30 UTC 2011 --- community/usb_modeswitch/PKGBUILD | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'community/usb_modeswitch') 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 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 -- cgit v1.2.3-54-g00ecf