2021-07-07 15:44:03 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
2022-05-10 08:06:45 -06:00
|
|
|
# Swap to shell script instead of perl script
|
|
|
|
# for conversion of rules files. See files/xml2lst.
|
|
|
|
sed 's/xml2lst\.pl/xml2lst/' rules/meson.build > _
|
|
|
|
mv -f _ rules/meson.build
|
|
|
|
|
|
|
|
# Remove po/ dir.
|
|
|
|
sed "/subdir('po')/d" meson.build > _
|
|
|
|
mv -f _ meson.build
|
|
|
|
|
2023-03-02 07:40:00 -07:00
|
|
|
export DESTDIR="$1"
|
|
|
|
|
2022-05-10 08:06:45 -06:00
|
|
|
meson setup \
|
|
|
|
-Dprefix=/usr \
|
|
|
|
output
|
|
|
|
|
|
|
|
ninja -C output
|
|
|
|
ninja -C output install
|