diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 00:08:15 +0200 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 00:08:15 +0200 |
commit | b7cdc191c84c05a3a17d9ecb3ef7ffcdafc23726 (patch) | |
tree | 1af0a83376d4e64c1868e4d572ce195657e66b07 /community/gjs/APKBUILD | |
parent | bd354d32fed7d06c047b11a194379c3d6ceb8901 (diff) | |
download | aports-b7cdc191c84c05a3a17d9ecb3ef7ffcdafc23726.tar.bz2 aports-b7cdc191c84c05a3a17d9ecb3ef7ffcdafc23726.tar.xz |
community/gjs: move from testing
Diffstat (limited to 'community/gjs/APKBUILD')
-rw-r--r-- | community/gjs/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/gjs/APKBUILD b/community/gjs/APKBUILD new file mode 100644 index 0000000000..111a473c8a --- /dev/null +++ b/community/gjs/APKBUILD @@ -0,0 +1,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" |