PKGBUILDs/extra/wxpython/PKGBUILD

26 lines
963 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 41715 2009-06-07 00:59:47Z eric $
# Maintainer: Eric Belanger <eric@archlinux.org>
# Contributor: Andrew Wright <andreww@photism.org>
pkgname=wxpython
pkgver=2.8.10.1
pkgrel=1
pkgdesc="A wxWidgets GUI toolkit for Python"
arch=('i686' 'x86_64')
license=('custom:wxWindows')
url="http://www.wxpython.org"
depends=('wxgtk>=2.8.10.1' 'python>=2.6')
source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2 editra-ebmlib.diff)
md5sums=('65d5ef166f23fe8b4c67f58df164f93e' '3d3cd0088207075b263ae7b624c17a64')
sha1sums=('6598fbafd979a91f20100171fa23a91779f6dc62' '509676632f1122ab1309c3bd9feae4f78b337538')
build() {
cd "${srcdir}/wxPython-src-${pkgver}/wxPython"
patch -p2 < "${srcdir}/editra-ebmlib.diff" || return 1
python setup.py \
WXPORT=gtk2 \
UNICODE=1 \
build install --root="${pkgdir}" || return 1
install -D -m644 ../docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}