void-packages/srcpkgs/qiv/template
2018-05-04 13:46:57 +02:00

28 lines
727 B
Bash

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