# $Id: PKGBUILD 138392 2011-09-21 14:01:12Z ibiru $ # Maintainer: Ionut Biru pkgname=gjs pkgver=1.29.18 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}/1.29/${pkgname}-${pkgver}.tar.xz) sha256sums=('f2040c2a61ec8ace64ba8d7777a81489b50a4f67a8fb8d565e175114a45f3ab4') 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 }