summaryrefslogtreecommitdiff
path: root/gnome-unstable/gjs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-unstable/gjs/PKGBUILD')
-rw-r--r--gnome-unstable/gjs/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnome-unstable/gjs/PKGBUILD b/gnome-unstable/gjs/PKGBUILD
new file mode 100644
index 000000000..471c9a68f
--- /dev/null
+++ b/gnome-unstable/gjs/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 152779 2012-03-09 16:16:24Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+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
+}