# Maintainer: Natanael Copa pkgname=gobject-introspection pkgver=0.6.12 pkgrel=0 pkgdesc="Introspection system for GObject-based libraries" url="http://live.gnome.org/GObjectInstrospection" license="LGPL GPL" makedepends="flex bison glib-dev libffi-dev python-dev" depends="python glib-dev libffi-dev cairo-dev" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.6/$pkgname-$pkgver.tar.bz2" # since this is a dev package by definition we dont bother separate -dev subpackages="$pkgname-doc libgirepository" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" export CPPFLAGS= ./configure --prefix=/usr --disable-static || return 1 # FIXME: parallel builds is broken make -j1 || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } libgirepository() { pkgdesc="Runtime library for gobject-introspection" cd "$_builddir" install -d "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libgirepository*.so* "$subpkgdir"/usr/lib/ } md5sums="265e24520996820d39d6149ea10dc0df gobject-introspection-0.6.12.tar.bz2"