PKGBUILDs/extra/meson/arch-meson
2018-12-10 13:20:42 +00:00

22 lines
626 B
Bash

#!/bin/bash -ex
# Highly opinionated wrapper for Arch Linux packaging
exec meson setup \
--prefix /usr \
--libdir /usr/lib \
--libexecdir /usr/lib \
--bindir /usr/bin \
--sbindir /usr/bin \
--includedir /usr/include \
--datadir /usr/share \
--mandir /usr/share/man \
--infodir /usr/share/info \
--localedir /usr/share/locale \
--sysconfdir /etc \
--localstatedir /var \
--sharedstatedir /var/lib \
--buildtype release \
--auto-features enabled \
--wrap-mode nofallback \
-D b_lto=false \
"$@"