diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-06-05 21:46:08 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-06-05 21:46:08 +0000 |
commit | 8afdaa1775f109df1e533f982c7edeba6a0c98da (patch) | |
tree | 91f7b17d94b9c756b18f86036996f547c09d3fd3 /testing | |
parent | 33268ddd5fac7d452f4b46a135f37c8d67fb13f1 (diff) | |
download | aports-8afdaa1775f109df1e533f982c7edeba6a0c98da.tar.bz2 aports-8afdaa1775f109df1e533f982c7edeba6a0c98da.tar.xz |
testing/gjs: new aport
Diffstat (limited to 'testing')
-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" |