void-packages/srcpkgs/feh/template
2018-05-19 16:20:03 +02:00

24 lines
782 B
Bash

# Template file for 'feh'
pkgname=feh
version=2.26.3
revision=1
hostmakedepends="pkg-config"
makedepends="giblib-devel libXinerama-devel libXt-devel libcurl-devel
libexif-devel libjpeg-turbo-devel"
depends="libjpeg-turbo-tools"
short_desc="Fast and light imlib2-based image viewer"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT-feh"
homepage="https://feh.finalrewind.org/"
#changelog="https://raw.githubusercontent.com/derf/feh/master/ChangeLog"
distfiles="${homepage}/feh-${version}.tar.bz2"
checksum=3ff3e64db0811e2ff14add77d1aab4ae6d16616f5f78fe54649b49f5aa7f4a21
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
}