Date: Tuesday, June 18, 2019 @ 13:57:27 Author: heftig Revision: 356388
archrelease: copy trunk to testing-x86_64 Added: evince/repos/testing-x86_64/ evince/repos/testing-x86_64/PKGBUILD (from rev 356387, evince/trunk/PKGBUILD) ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) Copied: evince/repos/testing-x86_64/PKGBUILD (from rev 356387, evince/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-06-18 13:57:27 UTC (rev 356388) @@ -0,0 +1,43 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Maintainer: Jan de Groot <j...@archlinux.org> + +pkgname=evince +pkgver=3.32.0+26+gd3aecce7 +pkgrel=2 +pkgdesc="Document viewer (PDF, Postscript, djvu, tiff, dvi, XPS, SyncTex support with gedit, comics books (cbr,cbz,cb7 and cbt))" +url="https://wiki.gnome.org/Apps/Evince" +arch=(x86_64) +license=(GPL) +depends=(gtk3 libgxps libspectre gsfonts poppler-glib djvulibre t1lib dconf libsecret libsynctex + gsettings-desktop-schemas gnome-desktop libarchive gst-plugins-base-libs gspell) +makedepends=(libnautilus-extension texlive-bin gobject-introspection docbook-xsl python gtk-doc git + meson appstream-glib yelp-tools) +optdepends=('texlive-bin: DVI support' + 'gvfs: bookmark support and session saving') +groups=(gnome) +options=('!emptydirs') +_commit=d3aecce7c6ec973af471ca88e3a2c4910ac52d13 # gnome-3-32 +source=("git+https://gitlab.gnome.org/GNOME/evince.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build -D ps=enabled + ninja -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}