void-packages/srcpkgs/epdfview/template

22 lines
711 B
Bash

# Template file for 'epdfview'
pkgname=epdfview
version=0.1.8
revision=10
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gtk+-devel poppler-glib-devel"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Lightweight PDF viewer using Poppler and GTK+"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.emma-soft.com/projects/epdfview/"
license="GPL-2"
distfiles="http://anduin.linuxfromscratch.org/BLFS/epdfview/epdfview-${version}.tar.bz2"
checksum=948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0
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
}