# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=atril pkgver=1.22.3 pkgrel=0 pkgdesc="A document viewer for MATE" url="https://github.com/mate-desktop/atril" arch="all !s390x" # mate-desktop 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="intltool glib-dev gtk+3.0-dev mate-desktop-dev dconf-dev libsm-dev libsecret-dev caja-extensions-dev caja-dev poppler-dev tiff-dev itstool libgxps-dev libxml2-utils libxml2-dev libspectre-dev python3-dev webkit2gtk-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://pub.mate-desktop.org/releases/${pkgver%.*}/atril-$pkgver.tar.xz" build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --enable-static=no \ --prefix=/usr make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="f4a83702818e1fb32279c67f1727c01480d27fe756f3fc0ff9dcd42584ce74ce10ac7ee81c0149f3756b6eb08f2a011ede28706ab54ff16a51c544a1af3b103f atril-1.22.3.tar.xz"