void-packages/srcpkgs/qiv/template

29 lines
720 B
Bash

# Template file for 'qiv'
pkgname=qiv
version=2.3.3
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=ef085ffde2d48b05b3665939e5ae1e359d3a381008fb827684f7d6fd4c533704
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
}