[arch-commits] Commit in hidapi/trunk (PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Fri Oct 1 06:13:37 UTC 2021


    Date: Friday, October 1, 2021 @ 06:13:36
  Author: eworm
Revision: 1026338

upgpkg: hidapi 0.11.0-1: new upstream release

Modified:
  hidapi/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-01 05:28:12 UTC (rev 1026337)
+++ PKGBUILD	2021-10-01 06:13:36 UTC (rev 1026338)
@@ -4,7 +4,7 @@
 # Contributor: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
 
 pkgname=hidapi
-pkgver=0.10.1
+pkgver=0.11.0
 pkgrel=1
 pkgdesc='Simple library for communicating with USB and Bluetooth HID devices'
 arch=(x86_64)
@@ -15,13 +15,18 @@
             'libudev.so: for the hidraw backend -- hidapi-hidraw.so')
 provides=('libhidapi-hidraw.so' 'libhidapi-libusb.so')
 source=("https://github.com/libusb/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('0479706c631775483378070ff7170542725678eabc202a5bd07436c951fd766e01743417999ac3fb2b5436c865f6ace2cfced1f210fa3a3e88c19ceb3bbe0534')
+sha512sums=('0de4abc963600d159ce231416c468b9e81a8361e4d2c2202988d6eb2e58a923700e9b9be639fbddc6bc14625131848409e2e88dbc4b34a1f8a726c8fa4692d92')
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+  ./bootstrap
+}
 build() {
   cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
 
-  ./bootstrap
-  ./configure --prefix=/usr
+  ./configure \
+    --prefix=/usr
   make
 }
 



More information about the arch-commits mailing list