blob: 3624610e2c76e3aac67a8b2eff933bfc934ead29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}
|