diff --git a/srcpkgs/qiv/template b/srcpkgs/qiv/template new file mode 100644 index 0000000000..1cad30e811 --- /dev/null +++ b/srcpkgs/qiv/template @@ -0,0 +1,24 @@ +# 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 " +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 +}