summaryrefslogtreecommitdiff
path: root/extra/gjs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gjs/PKGBUILD')
-rw-r--r--extra/gjs/PKGBUILD24
1 files changed, 14 insertions, 10 deletions
diff --git a/extra/gjs/PKGBUILD b/extra/gjs/PKGBUILD
index 06c66a70d..198d47e91 100644
--- a/extra/gjs/PKGBUILD
+++ b/extra/gjs/PKGBUILD
@@ -1,26 +1,30 @@
-# $Id: PKGBUILD 169881 2012-10-30 22:25:52Z heftig $
+# $Id: PKGBUILD 183533 2013-04-22 15:40:22Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=gjs
-pkgver=1.34.0
+pkgver=1.36.1
pkgrel=1
pkgdesc="Javascript Bindings for GNOME"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://live.gnome.org/Gjs"
-license=('GPL')
-depends=('cairo' 'dbus-glib' 'gobject-introspection' 'js')
+license=(GPL)
+depends=(cairo gobject-introspection 'js>=17.0.0')
options=('!libtool')
-source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('3d62c717a0522a36c6faa1eb021872255e3cd285a72786afe23b7cca2e3084cb')
+source=(http://people.gnome.org/~walters/$pkgname-js17-$pkgver.tar.bz2)
+sha256sums=('5826f74fcf20750538f74e2b0059f392eb139996b80b70ca217f5f7a0d117e27')
build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's|python|python2|' scripts/make-tests
+ cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static
make
}
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}