diff options
Diffstat (limited to 'testing/gjs')
-rw-r--r-- | testing/gjs/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/gjs/APKBUILD b/testing/gjs/APKBUILD new file mode 100644 index 0000000000..f1b10ca492 --- /dev/null +++ b/testing/gjs/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=gjs +pkgver=1.48.3 +pkgrel=0 +pkgdesc="GNOME javascript library" +url="https://wiki.gnome.org/Projects/Gjs" +arch="all" +license="LGPL" +depends="" +depends_dev="gobject-introspection-dev mozjs-38-dev" +makedepends="$depends_dev mozjs-38 dbus" +install="" +subpackages="$pkgname-dev" +source="http://ftp.gnome.org/pub/GNOME/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 + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="6fdfb4fb17336f94a077e0d1a5a98c88437a2d3cc361677672e10d36dc220b46f2554cfe6fc3c71e644ea63ff38d5e638c667e3f5f85db7332cdf4ae6326f27f gjs-1.48.3.tar.xz" |