Date: Thursday, March 17, 2022 @ 23:15:54 Author: demize Revision: 1157275
archrelease: copy trunk to community-testing-x86_64 Added: zathura/repos/community-testing-x86_64/ zathura/repos/community-testing-x86_64/PKGBUILD (from rev 1157274, zathura/trunk/PKGBUILD) ----------+ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) Copied: zathura/repos/community-testing-x86_64/PKGBUILD (from rev 1157274, zathura/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2022-03-17 23:15:54 UTC (rev 1157275) @@ -0,0 +1,46 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: ML <neldoreth> + +pkgname=zathura +pkgver=0.4.9 +pkgrel=1 + +pkgdesc="Minimalistic document viewer" +url="https://pwmt.org/projects/zathura/" +arch=('x86_64') +license=('custom') + +makedepends=('python-sphinx' 'texlive-bin' 'meson' 'ninja' 'appstream-glib' 'check') +depends=('girara>=0.2.7' 'sqlite' 'desktop-file-utils' 'file' 'libsynctex') +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=(zathura-$pkgver.tar.gz::https://github.com/pwmt/zathura/archive/$pkgver.tar.gz) + +sha256sums=('82235cbc89899421fca98477265626f2149df7d072740f0360550cc8d4e449d6') + +build() { + cd zathura-$pkgver + arch-meson build + + cd build + ninja +} + +check() { + cd zathura-$pkgver/build + + ninja test +} + +package() { + cd zathura-$pkgver/build + DESTDIR="$pkgdir" ninja install + + install -D -m664 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}