# Maintainer: William Pitcock setglobal pkgname = 'gjs' setglobal pkgver = '1.48.3' setglobal pkgrel = '0' setglobal pkgdesc = '"GNOME javascript library'" setglobal url = '"https://wiki.gnome.org/Projects/Gjs'" setglobal arch = '"all !armhf'" setglobal license = '"LGPL'" setglobal depends = ''"" setglobal depends_dev = '"gobject-introspection-dev mozjs-38-dev'" setglobal makedepends = ""$depends_dev mozjs-38 dbus"" setglobal install = ''"" setglobal subpackages = ""$pkgname-dev"" setglobal source = ""http://ftp.gnome.org/pub/GNOME/sources/gjs/$(pkgver%.*)/gjs-$pkgver.tar.xz"" setglobal builddir = ""$srcdir/gjs-$pkgver"" proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var make } proc package { cd $builddir make DESTDIR="$pkgdir" install } setglobal sha512sums = '"6fdfb4fb17336f94a077e0d1a5a98c88437a2d3cc361677672e10d36dc220b46f2554cfe6fc3c71e644ea63ff38d5e638c667e3f5f85db7332cdf4ae6326f27f gjs-1.48.3.tar.xz'"