From 8afdaa1775f109df1e533f982c7edeba6a0c98da Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 5 Jun 2017 21:46:08 +0000 Subject: testing/gjs: new aport --- testing/gjs/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/gjs/APKBUILD (limited to 'testing/gjs') 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 +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" -- cgit v1.2.3