summaryrefslogtreecommitdiff
path: root/extra/gjs
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gjs')
-rw-r--r--extra/gjs/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/gjs/PKGBUILD b/extra/gjs/PKGBUILD
new file mode 100644
index 000000000..34fd492d4
--- /dev/null
+++ b/extra/gjs/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 117650 2011-04-04 14:59:48Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+pkgname=gjs
+pkgver=0.7.14
+pkgrel=1
+pkgdesc="Javascript Bindings for GNOME"
+arch=('i686' 'x86_64')
+url="http://live.gnome.org/Gjs"
+license=('GPL')
+depends=('gobject-introspection' 'xulrunner')
+options=('!libtool')
+source=(http://download.gnome.org/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('3af6f449a505c419d4a0e5938737da8d1b9b09b33710cc1ac1edee2eaa86e348')
+
+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
+}