# Template build file for 'epdfview'. pkgname=epdfview version=0.1.8 revision=2 distfiles="http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$version.tar.bz2" build_style=gnu_configure short_desc="Lightweight PDF viewer using Poppler and GTK+" maintainer="Juan RP " checksum=948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0 homepage="http://www.emma-soft.com/projects/epdfview/" license="GPL-2" long_desc=" ePDFView is a free lightweight PDF document viewer using Poppler and GTK+ libraries. The aim of ePDFView is to make a simple PDF document viewer, in the lines of Evince but without using the Gnome libraries." gtk_iconcache_dirs="/usr/share/icons/hicolor" Add_dependency run libgcc Add_dependency run glibc Add_dependency run libstdc++ Add_dependency run glib Add_dependency run cairo Add_dependency run pango Add_dependency run gdk-pixbuf Add_dependency run gtk+ Add_dependency run poppler-glib Add_dependency build pkg-config Add_dependency build gtk+-devel Add_dependency build poppler-glib-devel Add_dependency full hicolor-icon-theme Add_dependency full desktop-file-utils post_install() { for f in 24 32 48; do install -Dm644 data/icon_${pkgname}-${f}.png \ ${DESTDIR}/usr/share/icons/hicolor/${f}x${f}/apps/${pkgname}.png done }