void-packages/srcpkgs/qiv/template

25 lines
670 B
Bash
Raw Normal View History

2014-07-01 20:21:35 +02:00
# Template file for 'qiv'
pkgname=qiv
version=2.3.1
2015-05-16 16:00:09 +02:00
revision=2
2014-07-01 20:21:35 +02:00
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() {
2014-11-23 14:12:44 +01:00
sed -i "s|\./qiv|echo &|" Makefile
sed -i "s|/man/|/share&|" Makefile
sed -i "s|install -s|install|" Makefile
2014-07-01 20:21:35 +02:00
}
do_install() {
2014-11-23 14:12:44 +01:00
make install PREFIX=$DESTDIR/usr
2014-07-01 20:21:35 +02:00
}