void-packages/srcpkgs/epdfview/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

21 lines
719 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@gmail.com>"
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
}