blob: 092c33a555165c18d648b6faf9e1b6124042d2aa (
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.2
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
}
|