blob: 22069792865ce13eeca8fbf630dbb317b7bd1b0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ML <neldoreth>
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
}
|