aboutsummaryrefslogtreecommitdiffstats
path: root/community/gjs/APKBUILD
blob: 111a473c8aac3105d5681eb7ccaf4d9ba05cb3fe (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.0
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="5aa7609661687524162ba1be523d83bedfc7c74460cca837333daf0d91c6feea4e0dd870aacb5068a58ea7363541e1ce3808f01e6c71179b25b2a0104e900206  gjs-1.58.0.tar.xz"