# description : An improved Python library to control i3wm # homepage : https://github.com/altdesktop/i3ipc-python # depends : python3-setuptools python3-xlib name=python3-i3ipc version=2.2.1 release=2 source="$name-$version.tar.gz::https://github.com/altdesktop/i3ipc-python/archive/v$version.tar.gz" build() { cd i3ipc-python-$version python3 setup.py build python3 setup.py install --root=$PKG --optimize=1 --skip-build install -Dm755 -t $PKG/usr/share/doc/$name/examples examples/*.py rm -rf $PKG/usr/share }