[arch-commits] Commit in libusb/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Mar 26 06:29:15 UTC 2018


    Date: Monday, March 26, 2018 @ 06:29:14
  Author: bpiotrowski
Revision: 320343

archrelease: copy trunk to testing-x86_64

Added:
  libusb/repos/testing-x86_64/
  libusb/repos/testing-x86_64/PKGBUILD
    (from rev 320342, libusb/trunk/PKGBUILD)

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

Copied: libusb/repos/testing-x86_64/PKGBUILD (from rev 320342, libusb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-03-26 06:29:14 UTC (rev 320343)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libusb
+pkgver=1.0.22
+pkgrel=1
+pkgdesc='Library that provides generic access to USB devices'
+arch=(x86_64)
+url='http://libusb.info/'
+license=(LGPL)
+depends=(glibc libsystemd)
+makedepends=(systemd)
+replaces=(libusb1 libusbx)
+provides=("libusbx=$pkgver" libusb-1.0.so)
+conflicts=(libusbx)
+source=(https://github.com/libusb/libusb/releases/download/v$pkgver/libusb-$pkgver.tar.bz2)
+md5sums=('466267889daead47674df933cea9cacb')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  make -C $pkgname-$pkgver check
+}
+
+package () {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list