blob: 75a7530838105de0f9be23d9248d5f78029df8e0 (
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
|
# $Id: PKGBUILD 210443 2014-04-14 20:06:17Z jgc $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=gjs
pkgver=1.40.0
pkgrel=1
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')
source=(http://ftp.gnome.org/pub/gnome/sources/gjs/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
sha256sums=('545fd7da8ee90ccd25d15c3eb8f1e59a1e04366237af6468613816fac840c8f9')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static --libexecdir=/usr/lib
make
}
check() {
cd $pkgname-$pkgver
# Needs a display
make -k check || :
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}
|