[arch-commits] Commit in usb_modeswitch/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Thu Nov 16 15:18:45 UTC 2017


    Date: Thursday, November 16, 2017 @ 15:18:44
  Author: spupykin
Revision: 266979

archrelease: copy trunk to community-x86_64

Added:
  usb_modeswitch/repos/community-x86_64/PKGBUILD
    (from rev 266978, usb_modeswitch/trunk/PKGBUILD)
Deleted:
  usb_modeswitch/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-16 15:18:28 UTC (rev 266978)
+++ PKGBUILD	2017-11-16 15:18:44 UTC (rev 266979)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=usb_modeswitch
-pkgver=2.5.0
-pkgrel=1
-_pkgdata=20170205
-pkgdesc="Activating switchable USB devices on Linux."
-arch=('i686' 'x86_64')
-url="http://www.draisberghof.de/usb_modeswitch/"
-license=('GPL')
-depends=('libusb' '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")
-sha256sums=('31c0be280d49a99ec3dc0be3325bef320d9c04b50714ef0ce1e36a614d687633'
-            'e2dcfd9d28928d8d8f03381571a23442b3c50d48d343bc40a1a07d01662738d1'
-            '846b45a82a31c9755ab86d9c051e706aff445e1e793575b7ae195a4edeb4d594')
-
-prepare() {
-  cd "$srcdir"/usb-modeswitch-$pkgver/
-  sed -i 's|/usr/sbin/usb_mode|/usr/bin/usb_mode|g' usb_modeswitch.{conf,tcl,sh}
-}
-
-build() {
-  cd "$srcdir"/usb-modeswitch-$pkgver/
-  make clean
-  make SBINDIR=/usr/bin
-}
-
-package() {
-  cd "$srcdir"/usb-modeswitch-$pkgver/
-
-  mkdir -p "$pkgdir"/usr/lib/udev
-  mkdir -p "$pkgdir"/etc
-  mkdir -p "$pkgdir"/usr/share/man/man1
-  mkdir -p "$pkgdir"/usr/lib/systemd/system
-
-  make \
-    DESTDIR="$pkgdir" \
-    UDEVDIR="$pkgdir"/usr/lib/udev \
-    SBINDIR="$pkgdir"/usr/bin \
-    SYSDIR="$pkgdir"/usr/lib/systemd/system \
-    install
-
-  cp "$srcdir"/usb-modeswitch-${pkgver}-device_reference.txt "$pkgdir"/etc/usb_modeswitch.setup
-
-  cd "$srcdir"/usb-modeswitch-data-${_pkgdata}
-  make DESTDIR="$pkgdir" install RULESDIR="$pkgdir"/usr/lib/udev/rules.d
-}

Copied: usb_modeswitch/repos/community-x86_64/PKGBUILD (from rev 266978, usb_modeswitch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-16 15:18:44 UTC (rev 266979)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=usb_modeswitch
+pkgver=2.5.1
+pkgrel=1
+_pkgdata=20170806
+pkgdesc="Activating switchable USB devices on Linux."
+arch=('x86_64')
+url="http://www.draisberghof.de/usb_modeswitch/"
+license=('GPL')
+depends=('libusb' '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")
+sha256sums=('f6e44bfc6e8d531ac6759791cf79ee9c618e7894fcf37170c8a5559718f9abd2'
+            'ce413ef2a50e648e9c81bc3ea6110e7324a8bf981034fc9ec4467d3562563c2c'
+            '846b45a82a31c9755ab86d9c051e706aff445e1e793575b7ae195a4edeb4d594')
+
+prepare() {
+  cd "$srcdir"/usb-modeswitch-$pkgver/
+  sed -i 's|/usr/sbin/usb_mode|/usr/bin/usb_mode|g' usb_modeswitch.{conf,tcl,sh}
+}
+
+build() {
+  cd "$srcdir"/usb-modeswitch-$pkgver/
+  make clean
+  make SBINDIR=/usr/bin
+}
+
+package() {
+  cd "$srcdir"/usb-modeswitch-$pkgver/
+
+  mkdir -p "$pkgdir"/usr/lib/udev
+  mkdir -p "$pkgdir"/etc
+  mkdir -p "$pkgdir"/usr/share/man/man1
+  mkdir -p "$pkgdir"/usr/lib/systemd/system
+
+  make \
+    DESTDIR="$pkgdir" \
+    UDEVDIR="$pkgdir"/usr/lib/udev \
+    SBINDIR="$pkgdir"/usr/bin \
+    SYSDIR="$pkgdir"/usr/lib/systemd/system \
+    install
+
+  cp "$srcdir"/usb-modeswitch-${pkgver}-device_reference.txt "$pkgdir"/etc/usb_modeswitch.setup
+
+  cd "$srcdir"/usb-modeswitch-data-${_pkgdata}
+  make DESTDIR="$pkgdir" install RULESDIR="$pkgdir"/usr/lib/udev/rules.d
+}


More information about the arch-commits mailing list