Date: Friday, June 22, 2018 @ 08:38:04
  Author: tpowa
Revision: 327446

archrelease: copy trunk to testing-x86_64

Added:
  usbutils/repos/testing-x86_64/
  usbutils/repos/testing-x86_64/PKGBUILD
    (from rev 327445, usbutils/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: usbutils/repos/testing-x86_64/PKGBUILD (from rev 327445, 
usbutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-06-22 08:38:04 UTC (rev 327446)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Tobias Powalowski <[email protected]>
+# Contributor: Tom Gundersen <[email protected]>
+# Contributor: Judd Vinet <[email protected]>
+# Contributor: Curtis Campbell <[email protected]>
+pkgname=usbutils
+pkgver=010
+pkgrel=1
+pkgdesc="USB Device Utilities"
+arch=(x86_64)
+license=('GPL')
+groups=('base')
+depends=('libusb' 'hwids')
+optdepends=('python: for lsusb.py usage'
+            'coreutils: for lsusb.py usage')
+url="http://linux-usb.sourceforge.net/";
+source=("http://www.kernel.org/pub/linux/utils/usb/usbutils/${pkgname}-${pkgver}.tar.xz";)
+md5sums=('938e3707593974be99a0dd6d1de76671')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --datadir=/usr/share/hwdata --disable-zlib
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  # this is now in the hwids package
+  rm -rf $pkgdir/usr/{share/hwdata,sbin}
+}

Reply via email to