#Packager: Shador pkgname=wxPython pkgver=2.8.12.1 pkgrel=1ab source=("http://downloads.sourceforge.net/wxpython/wxPython-src-$pkgver.tar.bz2") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" url='http://www.wxpython.org/' docs=("README.1st.txt") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Python bindings for the wxWidgets toolkit)" "wxPython is a GUI toolkit for the Python programming language. It" "allows Python programmers to create programs with a robust, highly" "functional graphical user interface, simply and easily. It is" "implemented as a Python extension module (native code) that wraps the" "popular wxWidgets cross platform GUI library, which is written in C++." ) build() { set -e cd $startdir/src/wxPython-src-$pkgver/wxPython/ python setup.py \ WXPORT=gtk2 \ UNICODE=1 \ USE_SWIG=1 \ build install --prefix=/usr --root=$startdir/pkg || return 1 install -vd $startdir/pkg/usr/doc/$pkgname-$pkgver/ cp -r docs/* $startdir/pkg/usr/doc/$pkgname-$pkgver/ set +e }