# $Id: PKGBUILD 20550 2008-12-05 16:48:02Z allan $
# Contributor: Jan de Groot <jgc@[thisdistro].org>
# Maintainer: skottish <skottish97215@[googles mail client]>
# Maintainer: jelly <jellevdwaa @ [googles mail client]>
pkgname=evince-gtk
pkgver=2.30.0
pkgrel=1
pkgdesc="Simply a document viewer"
url="http://www.gnome.org"
arch=(i686 x86_64)
license=('GPL')
depends=('gsfonts' 'poppler-glib>=0.12.0' 't1lib' 'libdjvu>=3.5.20' 'desktop-file-utils' 'libspectre>=0.2.2' 'hicolor-icon-theme' 'gtk2')
makedepends=('pkgconfig' 'texlive-bin' 'intltool' 'gnome-doc-utils')
optdepends=('texlive-bin: DVI support')
install=evince-gtk.install
options=('!libtool' '!emptydirs')
source=(http://ftp.gnome.org/pub/gnome/sources/evince/2.30/evince-${pkgver}.tar.bz2)
provides=('evince=${pkgver}')
conflicts=('evince')
build() {
cd $srcdir/evince-$pkgver
sed -i '/gnome-icon-theme/{N;d;}' ./configure
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--without-keyring \
--without-gconf \
--enable-pdf \
--enable-tiff \
--enable-djvu \
--enable-dvi \
--enable-t1lib \
--enable-pixbuf \
--enable-comics \
--enable-impress \
--enable-thumbnailer \
--disable-static \
--disable-schemas-install \
--disable-nautilus \
--disable-introspection \
--disable-scrollkeeper || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}
md5sums=('a55f1997891a64157286b6f6b00f8458')