[arch-commits] Commit in gobject-introspection/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Thu Sep 4 18:53:35 UTC 2014
Date: Thursday, September 4, 2014 @ 20:53:35
Author: jgc
Revision: 220956
upgpkg: gobject-introspection 1.41.91-1
Move python2 and python2-mako to optdepends. Not that this will require additional makedepends for modules using gobject-introspection during build
Modified:
gobject-introspection/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-04 18:38:48 UTC (rev 220955)
+++ PKGBUILD 2014-09-04 18:53:35 UTC (rev 220956)
@@ -2,27 +2,31 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=gobject-introspection
-pkgver=1.40.0
+pkgver=1.41.91
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=('a1ea708eeaa13dcc5a3078b1ae5aae178f22410023a56c699560f4e068722d9e')
+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
}
More information about the arch-commits
mailing list