From 7f73682ae00596e1b18edae301a542adba52e998 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 1 Dec 2014 16:23:05 +0000 Subject: gobject-introspection: update to 1.42 --- abs/core/gobject-introspection/PKGBUILD | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/abs/core/gobject-introspection/PKGBUILD b/abs/core/gobject-introspection/PKGBUILD index 1d25467..9757c17 100644 --- a/abs/core/gobject-introspection/PKGBUILD +++ b/abs/core/gobject-introspection/PKGBUILD @@ -2,27 +2,31 @@ # Maintainer: Jan de Groot pkgname=gobject-introspection -pkgver=1.40.0 +pkgver=1.42.0 pkgrel=1 pkgdesc="Introspection system for GObject-based libraries" url="https://live.gnome.org/GObjectIntrospection" arch=('x86_64' 'i686') license=('LGPL' 'GPL') -depends=('glib2' 'python2' 'python2-mako') -makedepends=('cairo') +depends=('glib2') +makedepends=('cairo' 'python2' 'python2-mako') +optdepends=('python2: gir development tools' + 'python2-mako: g-ir-doc-tool') source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz) -sha256sums=('96ea75e9679083e7fe39a105e810e2ead2d708abf189a5ba420bfccfffa24e98') +sha256sums=('3ba2edfad4f71d4f0de16960b5d5f2511335fa646b2c49bbb93ce5942b3f95f7') + +prepare() { + cd $pkgname-$pkgver + sed -i '1s|#!/usr/bin/env python$|&2|' giscanner/*.py +} build() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-static --enable-doctool make } package() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver make DESTDIR="$pkgdir" install - - sed -i '1s|#!/usr/bin/env python$|&2|' \ - "$pkgdir"/usr/lib/gobject-introspection/giscanner/*.py } -- cgit v0.12