void-packages/srcpkgs/qiv/template

29 lines
720 B
Bash

# Template file for 'qiv'
pkgname=qiv
version=2.3.2
revision=2
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="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="http://spiegl.de/qiv/"
distfiles="http://spiegl.de/qiv/download/$pkgname-$version.tgz"
checksum=48e0a088a0d5cf5fac2314a60b3aed62c4913e792627f64f03986865ad7080d5
do_configure() {
sed -i "s|\./qiv|echo &|" Makefile
sed -i "s|)/man/|)/share/man/|" Makefile
sed -i "s|install -s|install|" Makefile
}
pre_build() {
export CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() {
make install PREFIX=$DESTDIR/usr
}