21 lines
654 B
Plaintext
21 lines
654 B
Plaintext
![]() |
# Description: Python interface to xlib
|
||
|
# URL: http://python-xlib.sourceforge.net
|
||
|
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
||
|
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
||
|
#
|
||
|
# Depends on: python, x11
|
||
|
|
||
|
name=python-xlib
|
||
|
version=0.12
|
||
|
release=3
|
||
|
source=(http://dl.sourceforge.net/sourceforge/python-xlib/$name-$version.tar.gz\
|
||
|
display.py-encoding.diff python-xlib-0.12-attr-err.diff)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
patch Xlib/protocol/display.py $SRC/display.py-encoding.diff
|
||
|
patch -p1 < $SRC/python-xlib-0.12-attr-err.diff
|
||
|
python setup.py install --root=$PKG --prefix=/usr
|
||
|
chown -R root:root $PKG
|
||
|
}
|