# Template build file for 'epdfview'.
pkgname=epdfview
version=0.1.8
revision=4
build_style=gnu-configure
makedepends="pkg-config glib-devel>=2.32 gtk+-devel poppler-glib-devel>=0.20"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Lightweight PDF viewer using Poppler and GTK+"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.emma-soft.com/projects/epdfview/"
license="GPL-2"
distfiles="http://trac.emma-soft.com/$pkgname/chrome/site/releases/$pkgname-$version.tar.bz2"
checksum=948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0
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"

post_install() {
	for f in 24 32 48; do
		vinstall data/icon_${pkgname}-${f}.png 644 \
			usr/share/icons/hicolor/${f}x${f}/apps ${pkgname}.png
	done
}
