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

David Runge dvzrv at archlinux.org
Sat Oct 17 09:25:34 UTC 2020


    Date: Saturday, October 17, 2020 @ 09:25:33
  Author: dvzrv
Revision: 398480

archrelease: copy trunk to testing-x86_64

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

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

Copied: libusb/repos/testing-x86_64/PKGBUILD (from rev 398479, libusb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-10-17 09:25:33 UTC (rev 398480)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libusb
+pkgver=1.0.23
+pkgrel=3
+pkgdesc="Library that provides generic access to USB devices"
+arch=('x86_64')
+url="https://libusb.info/"
+license=('LGPL2.1')
+depends=('glibc')
+makedepends=('systemd')
+provides=('libusb-1.0.so')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/v$pkgver/${pkgname}-$pkgver.tar.bz2")
+sha512sums=('73430ad31dd405e76a9c6c55086961003989c44964e2735b5076f9ca849e3f6fe71d10a66b74b111f0c34a0d2cb744b9ca105863c552123fce4ec0bbdd2ec15b')
+b2sums=('4eaf8cce0047b85c3057c67b53769739c50a39c4d34e94659b030fb11f02309f9217e93d35d78f699c55256346cf8b14827c8ddf495caeeacc522c51f473abc2')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make -k check
+}
+
+package () {
+  depends+=('libudev.so')
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -vDm 644 {AUTHORS,ChangeLog,README} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+}



More information about the arch-commits mailing list