summaryrefslogtreecommitdiff
path: root/extra/gjs/PKGBUILD
blob: c35d5566edd18ac767faefb7fc942087ad70b4b7 (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
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 191784 2013-07-30 19:02:00Z jgc $
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=gjs
pkgver=1.36.1
pkgrel=2
pkgdesc="Javascript Bindings for GNOME"
arch=(i686 x86_64)
url="http://live.gnome.org/Gjs"
license=(GPL)
depends=(cairo gobject-introspection 'js>=17.0.0')
options=('!libtool')
source=(http://people.gnome.org/~walters/$pkgname-js17-$pkgver.tar.bz2
        gettext-typo.patch)
sha256sums=('5826f74fcf20750538f74e2b0059f392eb139996b80b70ca217f5f7a0d117e27'
            'c2c3ca377d9d69511d5784599ea33d754aed776d5ceefaf384b8e303b54fd038')

prepare() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../gettext-typo.patch
}
build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static
  make
}

check() {
  cd $pkgname-$pkgver
  make check
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}