#!/bin/mkpkg
# description: Highly customizable document viewer with vim-like keybindings
# url: https://pwmt.org/projects/zathura/

name=zathura
version=2026.02.22
release=1
depends=(girara gtk3 glib json-glib cairo sqlite file)
source=(
    "https://pwmt.org/projects/zathura/download/zathura-${version}.tar.xz"
)
sha256sums=(
    "cd162cac1d8f399a7b193db3c968513d6cb016631e892b5b1e7bdb0992151dc2"
)

build() {
    cd zathura-${version}

    meson setup build \
        --prefix=/usr \
        --libdir=lib \
        --buildtype=release \
        -Dsynctex=disabled \
        -Dseccomp=disabled \
        -Dlandlock=disabled \
        -Dmanpages=disabled \
        -Dconvert-icon=disabled \
        -Dtests=disabled

    meson compile -C build
    DESTDIR=${PKG} meson install -C build
}

signify() {
    untrusted comment: *** OpenTUX *** public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
