void-packages/srcpkgs/feh/template
2017-08-13 18:44:38 +02:00

22 lines
717 B
Bash

# Template file for 'feh'
pkgname=feh
version=2.19.2
revision=1
hostmakedepends="pkg-config"
makedepends="giblib-devel libcurl-devel libexif-devel
libpng-devel libjpeg-turbo-devel libXinerama-devel libXt-devel"
depends="libjpeg-turbo-tools"
short_desc="Fast and light imlib2-based image viewer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://feh.finalrewind.org/"
distfiles="${homepage}/feh-${version}.tar.bz2"
checksum=822a71953dbd5fbf5c3ee84bc64b0b7af77ffb4e9fd9a04a417a93a90de3566c
do_build() {
make ${makejobs} CC=$CC PREFIX=/usr exif=1 help=1 stat64=1
}
do_install() {
make PREFIX=/usr example_dir=${DESTDIR}/usr/share/examples/feh DESTDIR=${DESTDIR} install
vlicense COPYING
}