# $Id: PKGBUILD 152779 2012-03-09 16:16:24Z ibiru $ # Maintainer: Ionut Biru pkgname=gjs pkgver=1.31.20 pkgrel=1 pkgdesc="Javascript Bindings for GNOME" arch=('i686' 'x86_64') url="http://live.gnome.org/Gjs" license=('GPL') depends=('cairo' 'dbus-glib' 'gobject-introspection' 'js') options=('!libtool') source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) sha256sums=('4601f1423dbc0326529cba95cd0475a32ca62ee3215812665cf58e32080a9d11') build() { cd "$srcdir/$pkgname-$pkgver" sed -i 's|python|python2|' scripts/make-tests ./configure --prefix=/usr --disable-static make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }