#Maintainer: George Vlahavas pkgname=evince pkgver=3.18.2 pkgrel=1gv source=("http://ftp.gnome.org/pub/GNOME/sources/evince/3.18/evince-3.18.2.tar.xz") url=http://projects.gnome.org/evince/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers") options=('noautodotnew') doinst() { # compile schemas if [ -x /usr/bin/glib-compile-schemas ]; then /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "evince (simply a document viewer)" "Evince is a document viewer for multiple document formats. It" "currently supports pdf, postscript, djvu, tiff and dvi. The goal of" "evince is to replace the multiple document viewers that exist on the" "GNOME Desktop with a single simple application." ) build() { cd $startdir/src/$pkgname-$pkgver #patch -p1 < $startdir/src/evince-2.26.0-nohelp.patch || exit 1 # patch -p1 < $startdir/src/update_to_poppler_api.patch || exit 1 ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --disable-nautilus \ --enable-t1lib \ --enable-comics \ --disable-schemas-compile \ --disable-gtk-doc \ --disable-gtk-doc-html \ --disable-gtk-doc-pdf \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg # sed -i "/NoDisplay/d" $startdir/pkg/usr/share/applications/evince.desktop # rm -rf $startdir/pkg/usr/share/{omf,gnome,gtk-doc} }