void-packages/srcpkgs/nsxiv/template
2021-09-28 11:44:56 +02:00

21 lines
719 B
Bash

# Template file for 'nsxiv'
pkgname=nsxiv
version=27.1
revision=1
build_style=gnu-makefile
makedepends="libX11-devel imlib2-devel giflib-devel libexif-devel libXft-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=416247c6930d2a5ba482010a7c095fc3e6fe0fe609f2bce0049f69bebd63e00c
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
pre_build() {
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h ||:
}
post_install() {
vinstall nsxiv.desktop 644 usr/share/applications
}