diff options
Diffstat (limited to 'repo/gjs/gjs.xibuild')
-rw-r--r-- | repo/gjs/gjs.xibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/gjs/gjs.xibuild b/repo/gjs/gjs.xibuild new file mode 100644 index 0000000..3624610 --- /dev/null +++ b/repo/gjs/gjs.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="gjs" +DESC="GNOME javascript library" + +MAKEDEPS="dbus gobject-introspection js91 gtk3 cairo meson libffi" + +PKG_VER=1.72.0 +SOURCE="https://download.gnome.org/sources/gjs/${PKG_VER%.*}/gjs-$PKG_VER.tar.xz" + +build() { + meson --prefix=/usr \ + -Dprofiler=disabled \ + -Dinstalled_tests=false \ + output + meson compile ${JOBS:+-j ${JOBS}} -C output +} + +package() { + DESTDIR="$PKG_DEST" meson install --no-rebuild -C output +} + |