blob: 60b01a04cd63bc8e1c71293e2a2707e03cce807c (
plain)
1 # Description: XLib in pure Python
2 # URL: https://github.com/python-xlib/python-xlib
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3
5
6 name=python3-xlib
7 version=0.27
8 release=1
9 source=(https://github.com/python-xlib/python-xlib/releases/download/$version/python-xlib-$version.tar.bz2)
10
11 build() {
12 cd python-xlib-$version
13 python3 setup.py build
14 python3 setup.py install --root=$PKG --optimize=1 --skip-build
15 find $PKG \(\
16 -iname '*pkg-info*' -o \
17 -iname '*sources*' -o \
18 -iname '*dependency_links*' -o \
19 -iname '*top_level*' -o \
20 -iname '*requires*' \) -exec rm -fr '{}' \+
21 }
|