[arch-commits] Commit in hid-tools/repos (community-any community-any/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Thu May 23 19:20:49 UTC 2019


    Date: Thursday, May 23, 2019 @ 19:20:48
  Author: ffy00
Revision: 469455

archrelease: copy trunk to community-any

Added:
  hid-tools/repos/community-any/
  hid-tools/repos/community-any/PKGBUILD
    (from rev 469454, hid-tools/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: hid-tools/repos/community-any/PKGBUILD (from rev 469454, hid-tools/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-05-23 19:20:48 UTC (rev 469455)
@@ -0,0 +1,32 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=hid-tools
+pkgver=0.2
+pkgrel=1
+arch=('any')
+url='https://gitlab.freedesktop.org/libevdev/hid-tools'
+license=('GPL2')
+pkgdesc='Python scripts to manipulate HID data'
+depends=('python-parse' 'python-pyudev')
+makedepends=('python-setuptools' 'python-pypandoc')
+source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('580635bc679b8b6dd396c72b9a5d6560a56a3c3fa4b1d83ebbe82508977e23ce3abf0892406605937e62cde6335d205eba283b6c67dfe65630a2a27d74747ffb')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$pkgver
+
+  python setup.py test
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python setup.py install --root "$pkgdir" --skip-build -O1
+}
+


More information about the arch-commits mailing list