summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-12-01 16:23:05 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-12-01 16:23:05 (GMT)
commit7f73682ae00596e1b18edae301a542adba52e998 (patch)
tree049d05dfa09809f0793f6da89a017009ad838a91
parent2c4661dddbecc5983a711c2b244e47c6f1cfee49 (diff)
downloadlinhes_pkgbuild-7f73682ae00596e1b18edae301a542adba52e998.zip
linhes_pkgbuild-7f73682ae00596e1b18edae301a542adba52e998.tar.gz
linhes_pkgbuild-7f73682ae00596e1b18edae301a542adba52e998.tar.bz2
gobject-introspection: update to 1.42
-rw-r--r--abs/core/gobject-introspection/PKGBUILD22
1 files 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 <jgc@archlinux.org>
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
}