void-packages/srcpkgs/nsxiv/template

22 lines
719 B
Bash
Raw Normal View History

2021-09-18 06:18:37 +00:00
# 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
}