diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-18 01:52:18 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-18 01:52:18 (GMT) |
commit | 4dd7805520315327e7be558b82ff501727d339bf (patch) | |
tree | c7602e44b25fa3a3c4879a96f62b24fcf57372ba /abs/core | |
parent | 8ef13b4f684c015d70e952f21a4280d056c841cc (diff) | |
download | linhes_pkgbuild-4dd7805520315327e7be558b82ff501727d339bf.zip linhes_pkgbuild-4dd7805520315327e7be558b82ff501727d339bf.tar.gz linhes_pkgbuild-4dd7805520315327e7be558b82ff501727d339bf.tar.bz2 |
pygobject: update
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/pygobject/PKGBUILD | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/abs/core/pygobject/PKGBUILD b/abs/core/pygobject/PKGBUILD index 3a32ebe..1bef435 100644 --- a/abs/core/pygobject/PKGBUILD +++ b/abs/core/pygobject/PKGBUILD @@ -1,21 +1,29 @@ -# $Id: PKGBUILD 24736 2009-01-20 13:32:32Z douglas $ +# $Id: PKGBUILD 92839 2010-10-01 13:19:30Z allan $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=pygobject -pkgver=2.16.0 -pkgrel=1 +pkgver=2.26.0 +pkgrel=2 pkgdesc="Python bindings for GObject" -arch=(i686 x86_64) +arch=('i686' 'x86_64') license=('LGPL') -depends=('python>=2.5.2-5' 'glib2>=2.18.4') -source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/2.16/${pkgname}-${pkgver}.tar.bz2) +depends=('python2' 'glib2>=2.26.0' 'pycairo>=1.8.10' 'gobject-introspection>=0.9.6') +source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/2.26/${pkgname}-${pkgver}.tar.bz2) options=('!libtool') url="http://www.pygtk.org/" -md5sums=('431e7d4632163b93d1ee43cd071a389c') +sha256sums=('5554acff9c27b647144143b0459359864e4a6f2ff62c7ba21cf310ad755cf7c7') build() { cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr || return 1 + ./configure --prefix=/usr make || return 1 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install || return 1 + + find "$pkgdir"/usr/share/pygobject -name '*.py' | \ + xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" } + |