blob: 72286c8f1585d6bde8e109cf83858da754568100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh -e
export DESTDIR="$1"
# Avoid cloning gidocgen
sed '/gidocgen_dep/,/)$/d' meson.build > meson.build.tmp
mv meson.build.tmp meson.build
meson \
--prefix=/usr \
-Dgir=false \
-Dgtk_doc=false \
-Dintrospection=disabled \
. build
ninja -C build
ninja -C build install
# Remove unneeded tests
rm -rf "$1/usr/share/installed-tests"
rm -rf "$1/usr/libexec/installed-tests"
|