# Maintainer: Johannes Löthberg # Maintainer: Robin Candau # Contributor: Daniel Wallace # Contributor: Sergej Pupykin # Contributor: ML pkgname=zathura pkgver=0.5.5 pkgrel=101 pkgdesc="Minimalistic document viewer" url="https://pwmt.org/projects/zathura/" arch=(aarch64 'x86_64') license=('custom') makedepends=('python-sphinx' 'texlive-bin' 'meson' 'samurai' 'appstream-glib' 'check') depends=('girara>=0.2.7' 'desktop-file-utils' 'file' 'libsynctex' 'file') optdepends=('zathura-djvu: DjVu support' 'zathura-pdf-poppler: PDF support using Poppler' 'zathura-pdf-mupdf: PDF support using MuPDF' 'zathura-ps: PostScript support' 'zathura-cb: Comic book support') source=($pkgname'::git+file:///media/storage/src_git_mirrors/zathura.git#tag='$pkgver) cksums=('SKIP') build() { cd $pkgname arch-meson -Dseccomp=disabled build samu -j2 -C build } check() { samu -j2 -C $pkgname/build test } package() { cd $pkgname/build DESTDIR="$pkgdir" samu install install -D -m664 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }