# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=evince pkgver=3.24.0 pkgrel=1 pkgdesc="simple document viewer for GTK+" url="http://projects.gnome.org/evince/" arch="all" license="GPL" depends="adwaita-icon-theme" depends_dev="gtk+3.0-dev poppler-dev libsm-dev libevent-dev libxrandr-dev libx11-dev libxcursor-dev libxcomposite-dev libxi-dev util-linux-dev tiff-dev gobject-introspection-dev libxml2-dev" makedepends="$depends_dev intltool itstool gnome-doc-utils adwaita-icon-theme-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" builddir="${srcdir}/${pkgname}-${pkgver}" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --disable-nautilus \ --without-keyring \ --enable-introspection \ --disable-static \ --enable-comics make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } libs() { default_libs mv "$pkgdir"/usr/lib/* "$subpkgdir"/usr/lib/ } doc() { default_doc if [ -d "$pkgdir"/usr/share/help ]; then mv "$pkgdir"/usr/share/help "$subpkgdir"/usr/share/ fi } sha512sums="b793c44b2976abe58461adfdb0b1874af8d6bafaf9b80a851d94b776f9d50f6a81774bcb5b35cd59a9ad3afeea9a8b88018aa85d670373c7c2fa9617407a09c4 evince-3.24.0.tar.xz"