summaryrefslogtreecommitdiff
path: root/extra/gjs/PKGBUILD
blob: b7545d1608ec233cd500cee106c2df0f45e949fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 169881 2012-10-30 22:25:52Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=gjs
pkgver=1.34.0
pkgrel=1
pkgdesc="Javascript Bindings for GNOME"
arch=('i686' 'x86_64' 'mips64el')
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=('3d62c717a0522a36c6faa1eb021872255e3cd285a72786afe23b7cca2e3084cb')

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
}