void-packages/srcpkgs/epdfview/template

21 lines
722 B
Bash

# Template build file for 'epdfview'.
pkgname=epdfview
version=0.1.8
revision=6
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="ftp://ftp.slackware.com/.1/blfs/conglomeration/epdfview/$pkgname-$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
}