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

Sergej Pupykin spupykin at archlinux.org
Wed Apr 29 08:27:39 UTC 2015


    Date: Wednesday, April 29, 2015 @ 10:27:38
  Author: spupykin
Revision: 132492

archrelease: copy trunk to community-i686, community-x86_64

Added:
  hidapi/repos/community-i686/
  hidapi/repos/community-i686/PKGBUILD
    (from rev 132491, hidapi/trunk/PKGBUILD)
  hidapi/repos/community-x86_64/
  hidapi/repos/community-x86_64/PKGBUILD
    (from rev 132491, hidapi/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: hidapi/repos/community-i686/PKGBUILD (from rev 132491, hidapi/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-04-29 08:27:38 UTC (rev 132492)
@@ -0,0 +1,36 @@
+# $Id$
+# 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.8.0rc1
+_hidapiver=0.8.0-rc1
+pkgrel=2
+pkgdesc="Simple library for communicating with USB and Bluetooth HID devices"
+arch=(i686 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")
+md5sums=('069f9dd746edc37b6b6d0e3656f47199')
+
+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 132491, hidapi/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-04-29 08:27:38 UTC (rev 132492)
@@ -0,0 +1,36 @@
+# $Id$
+# 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.8.0rc1
+_hidapiver=0.8.0-rc1
+pkgrel=2
+pkgdesc="Simple library for communicating with USB and Bluetooth HID devices"
+arch=(i686 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")
+md5sums=('069f9dd746edc37b6b6d0e3656f47199')
+
+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}/"
+}



More information about the arch-commits mailing list