2006-02-23 15:26:10 +00:00
|
|
|
# Description: python interface to xlib
|
|
|
|
# URL: http://python-xlib.sourceforge.net
|
2006-09-04 18:11:43 +00:00
|
|
|
# Maintainer: Johannes Winkelmann, jw at tks6 dot net
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: python x11
|
|
|
|
|
|
|
|
name=python-xlib
|
|
|
|
version=0.12
|
|
|
|
release=2
|
|
|
|
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
|
|
|
|
}
|