diff options
Diffstat (limited to 'gnome-unstable/pygobject2')
-rw-r--r-- | gnome-unstable/pygobject2/PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/gnome-unstable/pygobject2/PKGBUILD b/gnome-unstable/pygobject2/PKGBUILD index 5aef1bcb4..e3eba387e 100644 --- a/gnome-unstable/pygobject2/PKGBUILD +++ b/gnome-unstable/pygobject2/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 136913 2011-09-02 18:43:01Z ibiru $ +# $Id: PKGBUILD 138099 2011-09-16 09:12:14Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgbase=pygobject2 pkgname=(python-gobject2 python2-gobject2 pygobject2-devel) pkgver=2.28.6 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') url="http://www.pygtk.org/" license=('LGPL') depends=('glib2' 'pygobject2-devel') -makedepends=(python python2 'namcap') +makedepends=('python' 'python2') source=(http://ftp.gnome.org/pub/gnome/sources/pygobject/${pkgver%.*}/pygobject-${pkgver}.tar.xz python3-fix-build.patch python3-fix-maketrans.patch) @@ -43,6 +43,7 @@ build() { package_python-gobject2() { pkgdesc="Python 3 bindings for GObject2" + depends+=('python') replaces=('py3gobject') provides=("py3gobject=$pkgver") @@ -55,6 +56,7 @@ package_python-gobject2() { package_python2-gobject2() { pkgdesc="Python 2 bindings for GObject2" + depends+=('python2') replaces=('pygobject') provides=("pygobject=$pkgver") @@ -65,23 +67,18 @@ package_python2-gobject2() { xargs sed -i "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" # Split devel stuff - mv "$pkgdir"/usr/{bin,include,lib/pkgconfig,share/{gtk-doc,pygobject/{2.0/codegen,xsl}}} \ + mv "$pkgdir"/usr/{include,lib/pkgconfig,share/{gtk-doc,pygobject/xsl}} \ "$srcdir/devel/" } package_pygobject2-devel() { pkgdesc="Development files for the pygobject bindings" - depends=('python2') - replaces=('pygobject-devel') - provides=('pygobject-devel') cd "${srcdir}/devel" - mkdir -p "$pkgdir"/usr/{include,lib,share/pygobject/2.0} + mkdir -p "$pkgdir"/usr/{include,lib,share/pygobject} - mv bin "$pkgdir/usr/" mv include "$pkgdir/usr/" mv pkgconfig "$pkgdir/usr/lib/" mv gtk-doc "$pkgdir/usr/share/" - mv codegen "$pkgdir/usr/share/pygobject/2.0/" mv xsl "$pkgdir/usr/share/pygobject/" } |