28 lines
721 B
Bash
28 lines
721 B
Bash
# Template file for 'qiv'
|
|
pkgname=qiv
|
|
version=2.3.1
|
|
revision=3
|
|
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() {
|
|
sed -i "s|\./qiv|echo &|" Makefile
|
|
sed -i "s|/man/|/share&|" Makefile
|
|
sed -i "s|install -s|install|" Makefile
|
|
}
|
|
|
|
pre_build() {
|
|
export CFLAGS="$CFLAGS $LDFLAGS"
|
|
}
|
|
|
|
do_install() {
|
|
make install PREFIX=$DESTDIR/usr
|
|
}
|