aboutsummaryrefslogtreecommitdiff
path: root/community/zathura/build
blob: decd0b41234282a312d9a20fa856f0ed1dfb0ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

export DESTDIR=$1

patch -p1 < remove_gettext.patch

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

meson \
    --prefix=/usr \
    --sysconfdir=/etc \
    --buildtype=release \
    -Dsynctex=disabled \
    . output
 
ninja -C output
ninja -C output install

clman zathura.1 zathurarc.5