blob: 336185b4d191a1f128e994cdb75e785601b3a301 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
# Contributor: Felix Yan <felixonmars@archlinux.org>
pkgname=python-ewmh
_gitname=pyewmh
pkgver=0.1.6
pkgrel=7
pkgdesc="Python implementation of EWMH (Extended Window Manager Hints)"
arch=('any')
url="https://github.com/parkouss/pyewmh/"
license=('LGPL')
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
}
package() {
cd pyewmh-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 README.rst "${pkgdir}/usr/share/${pkgname}/README.rst"
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|