summaryrefslogtreecommitdiff
path: root/extra/gjs/PKGBUILD
blob: c262561c3fd290dd4cb37cead4bd0d448238b7d0 (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
# $Id: PKGBUILD 139275 2011-10-01 18:57:14Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=gjs
pkgver=1.30.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}/1.30/${pkgname}-${pkgver}.tar.xz)
sha256sums=('ffe01980dd183abd96b2cc861d2e86ef12751d0a1af86daa4c491b82c74ac7b9')

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
}