# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=atril pkgver=1.19.6 pkgrel=0 pkgdesc="A document viewer for MATE" url="https://github.com/mate-desktop/atril" arch="all" license="GPL-2.0" depends="mate-icon-theme abiword-plugin-epub" # 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 libxml2-utils libxml2-dev python2-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --sysconfdir=/etc \ --enable-epub \ --with-gtk=3.0 \ --prefix=/usr make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="709aea97bc2110a21fc49d12d8e8b701db23292c960b06e4be27ab92301355334de1be2ff0251a92bd82cf91dc2e7da1483dc06816b086c7f590edf3a4377e17 atril-1.19.6.tar.xz"