summaryrefslogtreecommitdiff
path: root/community-testing/usb_modeswitch/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/usb_modeswitch/PKGBUILD')
-rw-r--r--community-testing/usb_modeswitch/PKGBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/community-testing/usb_modeswitch/PKGBUILD b/community-testing/usb_modeswitch/PKGBUILD
deleted file mode 100644
index f62176a28..000000000
--- a/community-testing/usb_modeswitch/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 68773 2012-04-01 19:51:31Z dreisner $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=usb_modeswitch
-pkgver=1.2.2
-pkgrel=2
-_pkgdata=20120120
-pkgdesc="Activating switchable USB devices on Linux."
-arch=('i686' 'x86_64')
-url="http://www.draisberghof.de/usb_modeswitch/"
-license=('GPL')
-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"
- "usb-modeswitch-${pkgver}-device_reference.txt::http://www.draisberghof.de/usb_modeswitch/device_reference.txt")
-md5sums=('4f3d3b9342b59b488089a8a81abda3ae'
- 'c899cc9c71bb35f3ec600b7cd1455c65'
- 'c12e19e3992b5beac9b6c48555cff660')
-
-build() {
- cd $srcdir/usb-modeswitch-$pkgver/
- make clean
- make
-}
-
-package() {
- cd $srcdir/usb-modeswitch-$pkgver/
-
- mkdir -p $pkgdir/usr/lib/udev
- mkdir -p $pkgdir/etc
- mkdir -p $pkgdir/usr/share/man/man1
-
- make DESTDIR=${pkgdir} UDEVDIR=${pkgdir}/usr/lib/udev install
-
- cp $srcdir/usb-modeswitch-${pkgver}-device_reference.txt $pkgdir/etc/usb_modeswitch.setup
-
- cd $srcdir/usb-modeswitch-data-${_pkgdata}
- make DESTDIR=$pkgdir install
-}