kiss-mfavila-small/ports/official/extra/atk/build

21 lines
375 B
Bash
Executable File

#!/bin/sh -e
# Ensure build success by removing -pie from LDFLAGS.
LDFLAGS=$(echo $LDFLAGS|sed 's/-pie//')
export DESTDIR="$1"
# Don't build tests.
sed -i "/subdir('tests')/d" meson.build
meson \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
-Ddocs=false \
-Dintrospection=false \
. output
ninja -C output
ninja -C output install