aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gjs/APKBUILD
blob: 87cb59c5316de3beecd9e3f09bb63189929ac8e6 (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
# Maintainer: 
pkgname=gjs
pkgver=1.54.1
pkgrel=1
pkgdesc="GNOME javascript library"
url="https://wiki.gnome.org/Projects/Gjs"
arch="all !armhf !armv7 !s390x"
license="LGPL"
makedepends="$depends_dev dbus gobject-introspection-dev mozjs60-dev mozjs60 gtk+3.0-dev cairo-dev"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/gjs/${pkgver%.*}/gjs-$pkgver.tar.xz"
builddir="$srcdir/gjs-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-profiler
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a6c77aecdd74b23f91aafb5ac65a0c72052d1efd7a00e248deab7bc339db1f85b7b3373dc6c4e8b67f47f4712563151ef74dca34a988edfca50eb379b2483a9d  gjs-1.54.1.tar.xz"