summaryrefslogtreecommitdiffstats
path: root/gjs/Pkgfile
blob: 9136719b76f4729ed167cc5570bbfd51cc2d890d (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
# Description: Bindings JavaScript pour GNOME 3
# URL: http://live.gnome.org/Gjs
# Maintainer: NutyX core team
# Packager: piernov <piernov@piernov.org>
# Depends on: cairo, dbus-glib, gobject-introspection, js
# Run on: cairo,dbus-glib,js

name=gjs
version=1.29.17
release=2

source=(http://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz
	signal_gc.patch
	gjs_context_gc_wrapper.patch)

build() {
	unset MAKEFLAGS
	cd $name-$version
	patch -p1 < ../signal_gc.patch
	patch -p1 < ../gjs_context_gc_wrapper.patch
	sed -i 's|python|python2|' scripts/make-tests
	./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
}