PKGBUILDs/extra/pygtk/PKGBUILD

30 lines
982 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# $Id: PKGBUILD 37915 2009-05-04 17:19:02Z hugo $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=pygtk
pkgver=2.14.1
pkgrel=4
pkgdesc="Python bindings for the GTK widget set"
arch=('arm')
license=('LGPL')
depends=('libglade>=2.6.3' 'pycairo>=1.6.4' 'pygobject>=2.16.0' 'python-numpy')
options=('!libtool' 'force')
url="http://www.pygtk.org/"
source=(http://ftp.gnome.org/pub/gnome/sources/pygtk/2.14/${pkgname}-${pkgver}.tar.bz2
pygtk-2.13.0-numpy.patch)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Patch to use numpy instead of numeric (thanks gentoo)
patch -Np1 < ${srcdir}/pygtk-2.13.0-numpy.patch || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m644 gtk/gtk-extrafuncs.defs "${pkgdir}/usr/share/pygtk/2.0/defs/" || return 1
}
md5sums=('c27a7d21b87910e80605d9135d220592'
'a4b3c8d3c46711db7b8679624b4a0207')