void-packages/srcpkgs/qiv/template

25 lines
682 B
Plaintext
Raw Normal View History

2014-07-01 20:21:35 +02:00
# Template file for 'qiv'
pkgname=qiv
version=2.3.1
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="file-devel gtk+-devel libexif-devel lcms2-devel imlib2-devel"
depends="file"
short_desc="Quick Image Viewer"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://spiegl.de/qiv/"
distfiles="http://spiegl.de/qiv/download/$pkgname-$version.tgz"
checksum=675396b539e6511135fe73c867f9fdd6d912c24c7562797cb047c27d0c2c8ee6
do_configure() {
sed -i "s|\./qiv|echo &|" Makefile
sed -i "s|/man/|/share&|" Makefile
sed -i "s|install -s|install|" Makefile
}
do_install() {
make install PREFIX=$DESTDIR/usr
}