Date: Saturday, November 19, 2022 @ 14:12:44
Author: jelle
Revision: 462167
archrelease: copy trunk to testing-x86_64
Added:
libusb-compat/repos/testing-x86_64/
libusb-compat/repos/testing-x86_64/PKGBUILD
(from rev 462166, libusb-compat/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libusb-compat/repos/testing-x86_64/PKGBUILD (from rev 462166,
libusb-compat/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-11-19 14:12:44 UTC (rev 462167)
@@ -0,0 +1,31 @@
+# Maintainer:
+# Contributor: Tom Gundersen <[email protected]>
+# Contributor: Tobias Powalowski <[email protected]>
+# Contributor: arjan <[email protected]>
+
+pkgname=libusb-compat
+pkgver=0.1.8
+pkgrel=1
+pkgdesc="Library to enable user space application programs to communicate with
USB devices"
+arch=('x86_64')
+url="http://libusb.sourceforge.net/"
+license=('LGPL')
+depends=('libusb' 'sh')
+source=("https://github.com/libusb/libusb-compat-0.1/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('f79dcc3b2c2ef4141e5300faf71519badde85d4ac87fd3372d2b88bba8af05dc')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ ./autogen.sh
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}