[arch-commits] Commit in hid-tools/trunk (PKGBUILD)

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


    Date: Thursday, May 23, 2019 @ 19:20:39
  Author: ffy00
Revision: 469454

upgpkg: hid-tools 0.2-1

Initial release

Added:
  hid-tools/trunk/PKGBUILD

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

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-23 19:20:39 UTC (rev 469454)
@@ -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