#Packager: Ralvex pkgname=evince realname= pkgver=3.10.3 majver=3.10 pkgrel=1rlvx #arch=noarch source=(http://ftp.gnome.org/pub/GNOME/sources/evince/$majver/$pkgname-$pkgver.tar.xz) #sourcetemplate=http://people.salixos.org/yournick/$pkgname/$pkgver/ #docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") #url= #dotnew=() #CFLAGS= #CXXFLAGS= options=('noautodotnew') doinst() { # compile schemas if [ -x usr/bin/glib-compile-schemas ]; then usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (document viewer for Gnome desktop)" "Evince is a document viewer for multiple document formats. The goal of" "evince is to replace the multiple document viewers that exist on the" "GNOME Desktop with a single simple application" "" "https://projects.gnome.org/evince/" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-schemas-compile --disable-nautilus --enable-introspection --disable-static --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }