Date: Friday, June 21, 2019 @ 05:34:00 Author: eworm Revision: 482566
archrelease: copy trunk to community-x86_64 Added: hidapi/repos/community-x86_64/PKGBUILD (from rev 482565, hidapi/trunk/PKGBUILD) Deleted: hidapi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 70 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-06-21 05:33:53 UTC (rev 482565) +++ PKGBUILD 2019-06-21 05:34:00 UTC (rev 482566) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> -# Maintainer: Niels Martignène <niels.martign...@gmail.com> -# Contributor: Nicolas Avrutin <nicolasa...@gmail.com> -# Contributor: Emmanuel Gil Peyrot <linkma...@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" -arch=(x86_64) -url="http://www.signal11.us/oss/hidapi/" -license=('GPL3' 'BSD' 'custom') -depends=('libusb') -conflicts=('hidapi-git') -source=("https://github.com/signal11/hidapi/archive/hidapi-${_hidapiver}.tar.gz") -sha256sums=('3c147200bf48a04c1e927cd81589c5ddceff61e6dac137a605f6ac9793f4af61') - -build() { - cd "${srcdir}/hidapi-hidapi-${_hidapiver}" - - ./bootstrap - ./configure --prefix=/usr - make -} - -package() { - cd "${srcdir}/hidapi-hidapi-${_hidapiver}" - - 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}/" -} Copied: hidapi/repos/community-x86_64/PKGBUILD (from rev 482565, hidapi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-06-21 05:34:00 UTC (rev 482566) @@ -0,0 +1,34 @@ +# Maintainer: Sergej Pupykin <arch+...@sergej.pp.ru> +# Maintainer: Niels Martignène <niels.martign...@gmail.com> +# Contributor: Nicolas Avrutin <nicolasa...@gmail.com> +# Contributor: Emmanuel Gil Peyrot <linkma...@linkmauve.fr> + +pkgname=hidapi +pkgver=0.9.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') +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}/" +}