void-packages/srcpkgs/nsxiv/template

20 lines
693 B
Bash

# Template file for 'nsxiv'
pkgname=nsxiv
version=28
revision=1
build_style=gnu-makefile
make_install_target=install-all
makedepends="libX11-devel imlib2-devel giflib-devel libexif-devel libXft-devel
libwebp-devel"
short_desc="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
maintainer="Sanjay Pavan <tsppavan7@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/nsxiv/nsxiv"
distfiles="https://github.com/nsxiv/nsxiv/archive/v${version}.tar.gz"
checksum=38047f60e51854363dd98fb7b3bc9f1cfa9b7d6f9e8788508b6f1e317328dd75
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
pre_build() {
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h ||:
}