void-packages/srcpkgs/sent/template

29 lines
787 B
Bash

# Template file for 'sent'
pkgname=sent
version=1
revision=1
create_wrksrc=yes
build_style=gnu-makefile
make_use_env=yes
makedepends="libX11-devel libXft-devel freetype-devel"
depends="farbfeld"
short_desc="Suckless simple plaintext presentation tool"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="http://tools.suckless.org/sent"
distfiles="http://dl.suckless.org/tools/sent-${version}.tar.gz"
checksum=7bf3de9311ce291ff36adf5315b78fa72373e3ab80ca71387fb5884bcbd7be33
do_configure() {
[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
cat <<! >>config.mk
INCS = -I${XBPS_CROSS_BASE}/usr/include/freetype2
INCS+= -I${XBPS_CROSS_BASE}/usr/include/X11
LIBS = -lc -lm -lXft -lfontconfig -lX11
!
}
post_install() {
vlicense LICENSE
vdoc README.md
}