diff options
author | James Meyer <jams@linhes.org> | 2010-12-10 01:32:23 (GMT) |
---|---|---|
committer | James Meyer <jams@linhes.org> | 2010-12-10 01:32:23 (GMT) |
commit | 5c40bb464357d486339e90f4118e4adaa8989e09 (patch) | |
tree | 8b5f680e7867c24eb5f3d1347eef9ea19c92beeb /abs/core/python_modules/pygobject | |
parent | f9b90df04a227fb2607482bed9a2f56678d95d30 (diff) | |
parent | 59771e9d114b75eafb316e94b7612dda202edd83 (diff) | |
download | linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.zip linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.tar.gz linhes_pkgbuild-5c40bb464357d486339e90f4118e4adaa8989e09.tar.bz2 |
Merge branch 'testing' of ssh://linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/python_modules/pygobject')
-rw-r--r-- | abs/core/python_modules/pygobject/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/python_modules/pygobject/PKGBUILD b/abs/core/python_modules/pygobject/PKGBUILD new file mode 100644 index 0000000..09e4e6d --- /dev/null +++ b/abs/core/python_modules/pygobject/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 92839 2010-10-01 13:19:30Z allan $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=pygobject +pkgver=2.26.0 +pkgrel=3 +pkgdesc="Python bindings for GObject" +arch=('i686' 'x86_64') +license=('LGPL') +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/" +sha256sums=('5554acff9c27b647144143b0459359864e4a6f2ff62c7ba21cf310ad755cf7c7') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./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|" +} + |