cruxports/gjs/Pkgfile

19 lines
529 B
Plaintext

# Description: JavaScript bindings for GNOME
# URL: https://gitlab.gnome.org/GNOME/gjs
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: cairo gobject-introspection meson dbus mozjs78 readline
name=gjs
version=1.72.0
release=1
source=(https://gitlab.gnome.org/GNOME/$name/-/archive/$version/$name-$version.tar.bz2)
build () {
cd $name-$version
meson build --prefix=/usr --buildtype release \
-D profiler=disabled \
-D installed_tests=false
meson compile -C build
DESTDIR=$PKG ninja -C build install
}