Date: Monday, October 3, 2022 @ 18:15:49
Author: demize
Revision: 1320792
archrelease: copy trunk to community-testing-x86_64
Added:
zathura/repos/community-testing-x86_64/
zathura/repos/community-testing-x86_64/PKGBUILD
(from rev 1320791, zathura/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: zathura/repos/community-testing-x86_64/PKGBUILD (from rev 1320791,
zathura/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2022-10-03 18:15:49 UTC (rev 1320792)
@@ -0,0 +1,46 @@
+# Maintainer: Johannes Löthberg <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor: ML <neldoreth>
+
+pkgname=zathura
+pkgver=0.5.1
+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'
'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=(zathura-$pkgver.tar.gz::https://pwmt.org/projects/zathura/download/zathura-$pkgver.tar.xz)
+
+sha256sums=('98a661ce271a9d108a7eb8f73e471fd5e727eeff4b246cdb2c9862f8aeab1bb1')
+
+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
+}