[arch-commits] Commit in python-evdev/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:16:28 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:16:26
Author: foutrelis
Revision: 399970
archrelease: copy trunk to staging-x86_64
Added:
python-evdev/repos/staging-x86_64/
python-evdev/repos/staging-x86_64/PKGBUILD
(from rev 399969, python-evdev/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-evdev/repos/staging-x86_64/PKGBUILD (from rev 399969, python-evdev/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-10 04:16:26 UTC (rev 399970)
@@ -0,0 +1,30 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=python-evdev
+pkgver=1.3.0
+pkgrel=2
+pkgdesc="Python bindings for the Linux input subsystem"
+url="https://python-evdev.readthedocs.io/en/latest/"
+arch=(x86_64)
+license=(BSD)
+depends=(python)
+makedepends=(git)
+_commit=43c8791d33ca1cc1ed787c7a7e29a2fcf9652a08 # tags/v1.3.0^0
+source=("git+https://github.com/gvalkov/python-evdev#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd $pkgname
+ python setup.py build
+}
+
+package() {
+ cd $pkgname
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}
More information about the arch-commits
mailing list