diff options
Diffstat (limited to 'staging/gjs')
-rw-r--r-- | staging/gjs/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/staging/gjs/PKGBUILD b/staging/gjs/PKGBUILD new file mode 100644 index 000000000..6b0e959f0 --- /dev/null +++ b/staging/gjs/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 157206 2012-04-26 00:19:23Z allan $ +# Maintainer: Ionut Biru <ibiru@archlinux.org> + +pkgname=gjs +pkgver=1.32.0 +pkgrel=2 +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=('b9f1dc156c15806824c936bb08ddc5048f52f6921654146c47025a62457108c0') + +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 +} |