[arch-commits] Commit in hidapi/repos (2 files)

2022-05-26 Thread Christian Hesse via arch-commits
Date: Thursday, May 26, 2022 @ 21:47:07
  Author: eworm
Revision: 1210686

archrelease: copy trunk to community-testing-x86_64

Added:
  hidapi/repos/community-testing-x86_64/
  hidapi/repos/community-testing-x86_64/PKGBUILD
(from rev 1210685, hidapi/trunk/PKGBUILD)

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

Copied: hidapi/repos/community-testing-x86_64/PKGBUILD (from rev 1210685, 
hidapi/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-05-26 21:47:07 UTC (rev 1210686)
@@ -0,0 +1,41 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Niels Martignène 
+# Contributor: Nicolas Avrutin 
+# Contributor: Emmanuel Gil Peyrot 
+
+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}/"
+}



[arch-commits] Commit in hidapi/repos (2 files)

2022-01-03 Thread Christian Hesse via arch-commits
Date: Monday, January 3, 2022 @ 22:34:01
  Author: eworm
Revision: 1092651

archrelease: copy trunk to community-testing-x86_64

Added:
  hidapi/repos/community-testing-x86_64/
  hidapi/repos/community-testing-x86_64/PKGBUILD
(from rev 1092650, hidapi/trunk/PKGBUILD)

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

Copied: hidapi/repos/community-testing-x86_64/PKGBUILD (from rev 1092650, 
hidapi/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-01-03 22:34:01 UTC (rev 1092651)
@@ -0,0 +1,41 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Niels Martignène 
+# Contributor: Nicolas Avrutin 
+# Contributor: Emmanuel Gil Peyrot 
+
+pkgname=hidapi
+pkgver=0.11.2
+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=('c4d04bf570aa98dd88d7ce08ef1abb0675d500c9aa2c22f0437fa30b700a94446779f77e1170267926d5f6f0d9cdb2bb81ad1fe20d158c18587fddbca59e9517')
+
+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}/"
+}



[arch-commits] Commit in hidapi/repos (2 files)

2021-09-30 Thread Christian Hesse via arch-commits
Date: Friday, October 1, 2021 @ 06:13:39
  Author: eworm
Revision: 1026339

archrelease: copy trunk to community-testing-x86_64

Added:
  hidapi/repos/community-testing-x86_64/
  hidapi/repos/community-testing-x86_64/PKGBUILD
(from rev 1026338, hidapi/trunk/PKGBUILD)

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

Copied: hidapi/repos/community-testing-x86_64/PKGBUILD (from rev 1026338, 
hidapi/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-10-01 06:13:39 UTC (rev 1026339)
@@ -0,0 +1,41 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Niels Martignène 
+# Contributor: Nicolas Avrutin 
+# Contributor: Emmanuel Gil Peyrot 
+
+pkgname=hidapi
+pkgver=0.11.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=('0de4abc963600d159ce231416c468b9e81a8361e4d2c2202988d6eb2e58a923700e9b9be639fbddc6bc14625131848409e2e88dbc4b34a1f8a726c8fa4692d92')
+
+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}/"
+}