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

2020-11-28 Thread Christian Hesse via arch-commits
Date: Saturday, November 28, 2020 @ 19:20:53
  Author: eworm
Revision: 765461

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: hidapi/repos/community-testing-x86_64/PKGBUILD (from rev 765460, 
hidapi/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-11-28 19:20:53 UTC (rev 765461)
@@ -0,0 +1,36 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Niels Martignène 
+# Contributor: Nicolas Avrutin 
+# Contributor: Emmanuel Gil Peyrot 
+
+pkgname=hidapi
+pkgver=0.10.1
+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=('0479706c631775483378070ff7170542725678eabc202a5bd07436c951fd766e01743417999ac3fb2b5436c865f6ace2cfced1f210fa3a3e88c19ceb3bbe0534')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+  ./bootstrap
+  ./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)

2020-10-29 Thread Filipe Laíns via arch-commits
Date: Thursday, October 29, 2020 @ 16:42:04
  Author: ffy00
Revision: 736544

archrelease: copy trunk to community-staging-x86_64

Added:
  hidapi/repos/community-staging-x86_64/
  hidapi/repos/community-staging-x86_64/PKGBUILD
(from rev 736543, hidapi/trunk/PKGBUILD)

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

Copied: hidapi/repos/community-staging-x86_64/PKGBUILD (from rev 736543, 
hidapi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-29 16:42:04 UTC (rev 736544)
@@ -0,0 +1,35 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Niels Martignène 
+# Contributor: Nicolas Avrutin 
+# Contributor: Emmanuel Gil Peyrot 
+
+pkgname=hidapi
+pkgver=0.10.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')
+source=("https://github.com/libusb/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz";)
+sha512sums=('469f9bc67e4c942e50c65725758e234d1876e99d3a80d7e92af768899794c03dfbcda66adf2f9d6304b8b2db7832d3d36f3e226f475f0233eb9f493ca14da73b')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+  ./bootstrap
+  ./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)

2020-07-07 Thread Felix Yan via arch-commits
Date: Tuesday, July 7, 2020 @ 13:52:35
  Author: felixonmars
Revision: 658624

archrelease: copy trunk to community-staging-x86_64

Added:
  hidapi/repos/community-staging-x86_64/
  hidapi/repos/community-staging-x86_64/PKGBUILD
(from rev 658623, hidapi/trunk/PKGBUILD)

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

Copied: hidapi/repos/community-staging-x86_64/PKGBUILD (from rev 658623, 
hidapi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-07 13:52:35 UTC (rev 658624)
@@ -0,0 +1,34 @@
+# Maintainer: Sergej Pupykin 
+# Maintainer: Niels Martignène 
+# Contributor: Nicolas Avrutin 
+# Contributor: Emmanuel Gil Peyrot 
+
+pkgname=hidapi
+pkgver=0.9.0
+pkgrel=2
+pkgdesc='Simple library for communicating with USB and Bluetooth HID devices'
+arch=(x86_64)
+url='https://github.com/libusb/hidapi'
+license=('GPL3' 'BSD' 'custom')
+depends=('libusb')
+conflicts=('hidapi-git')
+source=("https://github.com/libusb/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz";)
+sha256sums=('630ee1834bdd5c5761ab079fd04f463a89585df8fcae51a7bfe4229b1e02a652')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
+
+  ./bootstrap
+  ./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}/"
+}