diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..10416aedbe77 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Wed Sep 27 15:27:24 UTC 2017 +pkgbase = python2-ewmh + pkgdesc = A python implementation of EWMH (Extended Window Manager Hints) + pkgver = 0.1.6 + pkgrel = 1 + url = https://github.com/parkouss/pyewmh/ + arch = i686 + arch = x86_64 + license = LGPL + makedepends = git + depends = python2-xlib + source = https://github.com/parkouss/pyewmh/archive/v0.1.6.tar.gz + md5sums = 9547049c458904e1083907c763e990d5 + +pkgname = python2-ewmh + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..856aa223e809 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Stephen Smith <stephen304@gmail.com> + +pkgname=python2-ewmh +_gitname=pyewmh +pkgver=0.1.6 +pkgrel=1 +pkgdesc="A python implementation of EWMH (Extended Window Manager Hints)" +arch=('i686' 'x86_64') +url="https://github.com/parkouss/pyewmh/" +license=('LGPL') +depends=('python2-xlib') +makedepends=('git') +source=("https://github.com/parkouss/$_gitname/archive/v$pkgver.tar.gz") +md5sums=('9547049c458904e1083907c763e990d5') + +package() { + cd "$srcdir"/$_gitname-$pkgver + python2 setup.py install --root "$pkgdir" + + install -Dm644 README.rst "${pkgdir}/usr/share/${pkgname}/README.rst" + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |