[arch-commits] Commit in hidapi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Nov 1 21:58:36 UTC 2020
Date: Sunday, November 1, 2020 @ 21:58:36
Author: ffy00
Revision: 739055
archrelease: copy trunk to community-x86_64
Added:
hidapi/repos/community-x86_64/PKGBUILD
(from rev 739054, hidapi/trunk/PKGBUILD)
Deleted:
hidapi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 70 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 36 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-01 21:58:26 UTC (rev 739054)
+++ PKGBUILD 2020-11-01 21:58:36 UTC (rev 739055)
@@ -1,34 +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.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}/"
-}
Copied: hidapi/repos/community-x86_64/PKGBUILD (from rev 739054, hidapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-01 21:58:36 UTC (rev 739055)
@@ -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