[arch-commits] Commit in hidapi/repos/community-testing-x86_64 (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sun Nov 1 22:10:20 UTC 2020


    Date: Sunday, November 1, 2020 @ 22:10:20
  Author: ffy00
Revision: 739056

archrelease: copy trunk to community-testing-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-01 21:58:36 UTC (rev 739055)
+++ PKGBUILD	2020-11-01 22:10:20 UTC (rev 739056)
@@ -1,35 +0,0 @@
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Maintainer: Niels Martignène <niels.martignene at gmail.com>
-# Contributor: Nicolas Avrutin <nicolasavru at gmail.com>
-# Contributor: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
-
-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}/"
-}

Copied: hidapi/repos/community-testing-x86_64/PKGBUILD (from rev 739055, hidapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-01 22:10:20 UTC (rev 739056)
@@ -0,0 +1,36 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Maintainer: Niels Martignène <niels.martignene at gmail.com>
+# Contributor: Nicolas Avrutin <nicolasavru at gmail.com>
+# Contributor: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
+
+pkgname=hidapi
+pkgver=0.10.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')
+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=('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}/"
+}



More information about the arch-commits mailing list