[arch-commits] Commit in hidapi/trunk (PKGBUILD)
Christian Hesse
eworm at archlinux.org
Fri Jun 21 05:33:54 UTC 2019
Date: Friday, June 21, 2019 @ 05:33:53
Author: eworm
Revision: 482565
upgpkg: hidapi 0.9.0-1
new upstream release
Modified:
hidapi/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-21 02:45:33 UTC (rev 482564)
+++ PKGBUILD 2019-06-21 05:33:53 UTC (rev 482565)
@@ -4,20 +4,19 @@
# Contributor: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
pkgname=hidapi
-pkgver=0.8.0rc1
-_hidapiver=0.8.0-rc1
-pkgrel=3
-pkgdesc="Simple library for communicating with USB and Bluetooth HID devices"
+pkgver=0.9.0
+pkgrel=1
+pkgdesc='Simple library for communicating with USB and Bluetooth HID devices'
arch=(x86_64)
-url="http://www.signal11.us/oss/hidapi/"
+url='https://github.com/libusb/hidapi'
license=('GPL3' 'BSD' 'custom')
depends=('libusb')
conflicts=('hidapi-git')
-source=("https://github.com/signal11/hidapi/archive/hidapi-${_hidapiver}.tar.gz")
-sha256sums=('3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61')
+source=("https://github.com/libusb/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('630ee1834bdd5c5761ab079fd04f463a89585df8fcae51a7bfe4229b1e02a652')
build() {
- cd "${srcdir}/hidapi-hidapi-${_hidapiver}"
+ cd "${srcdir}/${pkgname}-${pkgname}-${pkgver}"
./bootstrap
./configure --prefix=/usr
@@ -25,11 +24,11 @@
}
package() {
- cd "${srcdir}/hidapi-hidapi-${_hidapiver}"
+ 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 -m644 LICENSE.txt LICENSE-bsd.txt LICENSE-orig.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -m0644 LICENSE.txt LICENSE-bsd.txt LICENSE-orig.txt "${pkgdir}/usr/share/licenses/${pkgname}/"
}
More information about the arch-commits
mailing list