summaryrefslogtreecommitdiff
path: root/testing/gjs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/gjs/PKGBUILD')
-rw-r--r--testing/gjs/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/gjs/PKGBUILD b/testing/gjs/PKGBUILD
new file mode 100644
index 000000000..4e2d2daad
--- /dev/null
+++ b/testing/gjs/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 155086 2012-04-01 11:32:30Z heftig $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=gjs
+pkgver=1.32.0
+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=('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
+}