aboutsummaryrefslogtreecommitdiff
path: root/community/zathura/build
blob: 8688a2634cc88fc73a40212715232c3591e4e701 (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"

# Disable gettext requirement.
clsed '/i18n/,/^)$/d' data/meson.build

# Fix build errors when appstream-glib or
# desktop-file-utils are installed.
clsed 's/appstream-util//'        data/meson.build
clsed 's/desktop-file-validate//' data/meson.build

cl-meson \
    -Dsynctex=disabled \
    . output
 
ninja -C output
ninja -C output install

# TODO update manual pages
clman zathura.1 zathurarc.5