[arch-commits] Commit in libusb/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Sep 1 19:54:06 UTC 2019
Date: Sunday, September 1, 2019 @ 19:54:05
Author: bpiotrowski
Revision: 361470
archrelease: copy trunk to testing-x86_64
Added:
libusb/repos/testing-x86_64/
libusb/repos/testing-x86_64/PKGBUILD
(from rev 361469, libusb/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libusb/repos/testing-x86_64/PKGBUILD (from rev 361469, libusb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-09-01 19:54:05 UTC (rev 361470)
@@ -0,0 +1,31 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libusb
+pkgver=1.0.23
+pkgrel=1
+pkgdesc='Library that provides generic access to USB devices'
+arch=(x86_64)
+url='https://libusb.info/'
+license=(LGPL)
+depends=(glibc systemd-libs)
+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=('1e29700f6a134766d32b36b8d1d61a95')
+
+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