blob: ad8935154cc6df3825c7ee5bfeecba17b7d8a01a (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gjs
pkgver=1.58.1
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"
options="!check" # needs DISPLAY
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() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="56f45a5e0b05d7f5710f95bfb0302d98b36c1d5d729ce2218489c11de09a8f4386defcb11988f5e563e84782b64f89c5eb5cbe32e34df0763d36087fa83cea4f gjs-1.58.1.tar.xz"
|