void-packages/srcpkgs/feh/template

27 lines
781 B
Bash

# Template file for 'feh'
pkgname=feh
version=3.1.1
revision=1
build_style=gnu-makefile
make_use_env=yes
make_build_args="PREFIX=/usr exif=1 help=1 stat64=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.org>"
license="MIT-feh"
homepage="https://feh.finalrewind.org/"
changelog="https://raw.githubusercontent.com/derf/feh/master/ChangeLog"
distfiles="${homepage}/feh-${version}.tar.bz2"
checksum=61d0242e3644cf7c5db74e644f0e8a8d9be49b7bd01034265cc1ebb2b3f9c8eb
pre_build() {
sed -i 's|doc/feh/examples|examples/feh|' config.mk
}
post_install() {
vlicense COPYING
}