Date: Saturday, January 7, 2023 @ 21:24:26
Author: eworm
Revision: 1381789
archrelease: copy trunk to community-x86_64
Added:
hidapi/repos/community-x86_64/PKGBUILD
(from rev 1381788, hidapi/trunk/PKGBUILD)
Deleted:
hidapi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-07 21:24:15 UTC (rev 1381788)
+++ PKGBUILD 2023-01-07 21:24:26 UTC (rev 1381789)
@@ -1,41 +0,0 @@
-# Maintainer: Sergej Pupykin <[email protected]>
-# Maintainer: Niels Martignène <[email protected]>
-# Contributor: Nicolas Avrutin <[email protected]>
-# Contributor: Emmanuel Gil Peyrot <[email protected]>
-
-pkgname=hidapi
-pkgver=0.12.0
-pkgrel=1
-pkgdesc='Simple library for communicating with USB and Bluetooth HID devices'
-arch=(x86_64)
-url='https://github.com/libusb/hidapi'
-license=('GPL3' 'BSD' 'custom')
-makedepends=('systemd' 'systemd-libs' 'libusb')
-optdepends=('libusb: for the libusb backend -- hidapi-libusb.so'
- '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=('866268927698db6fa553e000ead3c0c4b8df67ea768d36acac9c71f06f0bd8283778e90eee03f81aaa930f38dbb5719391906c7d2742b74479ffa436104f5fa4')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
-
- ./bootstrap
-}
-build() {
- cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
-
- ./configure \
- --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
-
- make DESTDIR="${pkgdir}/" install
-
- mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
- rm -f "${pkgdir}/usr/share/doc/hidapi/"LICENSE*
- install -m0644 LICENSE.txt LICENSE-bsd.txt LICENSE-orig.txt
"${pkgdir}/usr/share/licenses/${pkgname}/"
-}
Copied: hidapi/repos/community-x86_64/PKGBUILD (from rev 1381788,
hidapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-07 21:24:26 UTC (rev 1381789)
@@ -0,0 +1,41 @@
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: Niels Martignène <[email protected]>
+# Contributor: Nicolas Avrutin <[email protected]>
+# Contributor: Emmanuel Gil Peyrot <[email protected]>
+
+pkgname=hidapi
+pkgver=0.13.0
+pkgrel=1
+pkgdesc='Simple library for communicating with USB and Bluetooth HID devices'
+arch=(x86_64)
+url='https://github.com/libusb/hidapi'
+license=('GPL3' 'BSD' 'custom')
+makedepends=('systemd' 'systemd-libs' 'libusb')
+optdepends=('libusb: for the libusb backend -- hidapi-libusb.so'
+ '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=('2144f84db151e78b0f77682ce9e418d09439a689765cb34654cba3064800d785096a8ce2a059327379e9bc13f8d14f633c97f73a31c3993c6d97b50da3421a0f')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+ ./bootstrap
+}
+build() {
+ cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}/" install
+
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ rm -f "${pkgdir}/usr/share/doc/hidapi/"LICENSE*
+ install -m0644 LICENSE.txt LICENSE-bsd.txt LICENSE-orig.txt
"${pkgdir}/usr/share/licenses/${pkgname}/"
+}