# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gjs pkgver=1.58.4 pkgrel=0 pkgdesc="GNOME javascript library" url="https://wiki.gnome.org/Projects/Gjs" arch="all !s390x" license="MIT LGPL-2.0-or-later" makedepends="$depends_dev dbus gobject-introspection-dev mozjs60-dev mozjs60 gtk+3.0-dev cairo-dev" checkdepends="xvfb-run" options="!check" # testCommandLine.sh fails subpackages="$pkgname-dev" source="https://download.gnome.org/sources/gjs/${pkgver%.*}/gjs-$pkgver.tar.xz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-profiler make } check() { xvfb-run make check } package() { make DESTDIR="$pkgdir" install } sha512sums="b2d93409bb80f1eb6b0b866af1c8ab01e66c067a9db2b91b1a00c181a8382cfa1494b4cf2d5d58f1867163544b3f26fdd6327fbad175f95150c12eb35c321104 gjs-1.58.4.tar.xz"