# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=atril pkgver=1.27.0 pkgrel=4 pkgdesc="A document viewer for MATE" url="https://github.com/mate-desktop/atril" # ppc64le, s390x and riscv64 blocked by texlive arch="all !ppc64le !s390x !riscv64" license="GPL-2.0-or-later" depends="mate-icon-theme" # make check is broken: https://github.com/mate-desktop/atril/issues/167 options="!check" makedepends=" caja-dev caja-extensions-dev dconf-dev djvulibre-dev glib-dev gtk+3.0-dev intltool itstool libgxps-dev libsecret-dev libsm-dev libspectre-dev libxml2-dev libxml2-utils mate-desktop-dev poppler-dev python3-dev texlive-dev tiff-dev webkit2gtk-4.1-dev " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://pub.mate-desktop.org/releases/${pkgver%.*}/atril-$pkgver.tar.xz webkit2gtk-4.1.patch " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --enable-static=no \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" 1e8bdf689517be073943b49a81244138d3ebb7783cc45ccc1847eb545ba2897d63a01a5a87b95b359b23760f7f843131ac3f7e2912b0320d9dd5d0f765bfe843 atril-1.27.0.tar.xz 4effe5280342e2426544fd189d3ac973ea0399f4999c610e029a9b38227938d9b16e3a100b6503f28dffc31d6d715871f4417406ff480353b61ed4cc3ed49d7c webkit2gtk-4.1.patch "