python-xlib: taken over port from prologic
This commit is contained in:
parent
f3cf66c6ae
commit
96775f6e45
@ -1,20 +1,19 @@
|
||||
# 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
|
||||
# Description: Python interface to xlib.
|
||||
# URL: http://python-xlib.sourceforge.net
|
||||
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
||||
# Packager: Johannes Winkelmann, jw at tks6 dot net
|
||||
# Depends on: python xorg-libx11
|
||||
|
||||
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)
|
||||
source=(http://dl.sourceforge.net/sourceforge/python-xlib/python-xlib-$version.tar.gz\
|
||||
display.py-encoding.diff python-xlib-$version-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
|
||||
cd python-xlib-$version
|
||||
patch Xlib/protocol/display.py $SRC/display.py-encoding.diff
|
||||
patch -p1 -i ../python-xlib-$version-attr-err.diff
|
||||
python setup.py install --root=$PKG --prefix=/usr
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user