mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:37:14 +08:00
26 lines
861 B
Bash
26 lines
861 B
Bash
# $Id: PKGBUILD 68780 2010-02-14 12:47:21Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
|
|
|
|
pkgname=pygtk
|
|
pkgver=2.17.0
|
|
pkgrel=1
|
|
pkgdesc="Python bindings for the GTK widget set"
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL')
|
|
depends=('libglade>=2.6.4' 'pycairo>=1.8.8' 'pygobject>=2.21.1')
|
|
makedepends=('python-numpy')
|
|
optdepends=('python-numpy')
|
|
options=('!libtool')
|
|
url="http://www.pygtk.org/"
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${pkgname}-${pkgver}.tar.bz2)
|
|
sha256sums=('6a61817a2e765c6209c72ecdf44389ec134c1ebed1d842408bf001c9321f1400')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./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
|
|
}
|