diff options
author | Stephen Smith | 2017-09-27 11:33:53 -0400 |
---|---|---|
committer | Stephen Smith | 2017-09-27 11:33:53 -0400 |
commit | d745049c259dc1905ddf393dd82f98369cd59b72 (patch) | |
tree | 1f46cc6c64c951eb5c3d33a1865fd6001e42e95b /PKGBUILD | |
download | aur-python2-ewmh.tar.gz |
Initial commit.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
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" +} |