void-packages/srcpkgs/feh/template

26 lines
750 B
Bash

# Template file for 'feh'
pkgname=feh
version=2.18.3
revision=2
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="http://feh.finalrewind.org/"
distfiles="${homepage}/feh-${version}.tar.bz2"
checksum=d82f68c7a96e1860dab3584ed58bda69446b692ae79a4ca999018507da310563
do_build() {
make ${makejobs} CC=$CC PREFIX=/usr exif=1 help=1
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense COPYING
# Fix the permissions on the icons
chmod 644 ${DESTDIR}/usr/share/icons/hicolor/*/*/*
}