void-packages/srcpkgs/timg/template

22 lines
687 B
Bash

# Template file for 'timg'
pkgname=timg
version=0.9.9
revision=1
build_wrksrc="src"
build_style=gnu-makefile
make_use_env=yes
make_build_args="WITH_VIDEO_DECODING=1 MAGICK_CXXFLAGS=-I${XBPS_CROSS_BASE}/usr/include/GraphicsMagick"
hostmakedepends="pkg-config libgraphicsmagick-devel"
makedepends="libgraphicsmagick-devel ffmpeg-devel"
short_desc="24-bit color image & video viewer for terminal"
maintainer="Daniel Santana <daniel@santana.tech>"
license="GPL-2.0-only"
homepage="https://github.com/hzeller/timg"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=f43df657e93d47a1184a81c0976e67978cbdce21a83be5ec1df83403cda24caf
do_install() {
vman ../man/timg.1.gz
vbin timg
}