[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sun Apr 7 08:21:14 UTC 2019


    Date: Sunday, April 7, 2019 @ 08:21:13
  Author: felixonmars
Revision: 450225

addpkg: python-ewmh 0.1.6-1

Added:
  python-ewmh/
  python-ewmh/repos/
  python-ewmh/trunk/
  python-ewmh/trunk/PKGBUILD

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

Added: python-ewmh/trunk/PKGBUILD
===================================================================
--- python-ewmh/trunk/PKGBUILD	                        (rev 0)
+++ python-ewmh/trunk/PKGBUILD	2019-04-07 08:21:13 UTC (rev 450225)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-ewmh
+pkgver=0.1.6
+pkgrel=1
+pkgdesc="Python implementation of Extended Window Manager Hints, based on Xlib"
+url="https://github.com/parkouss/pyewmh"
+license=('LGPL')
+arch=('any')
+depends=('python-xlib')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/parkouss/pyewmh/archive/v$pkgver.tar.gz")
+sha512sums=('257d59c0927cec3cd75a6084cd484f1dcf9fa882719707078398d2a65e95e975ad9f6225ed1fd8ec1a29badbdc492c84eb4e04640cc6b480b31bc5ae8ab3f7c8')
+
+build() {
+  cd pyewmh-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pyewmh-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd pyewmh-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}


More information about the arch-commits mailing list