wl/hst/ndmake.sh
$ cat ndmake.sh
#!/bin/sh -ue
NAME=hst
VERSION=git
RELEASE=1
SOURCE="https://git.sr.ht/~dlm/hst"
BUILD_OPT='CC=cc'

postbuild() {
	msg "installing terminfo..."
	mkdir -p "$PKG/$PREFIX/share" || die "failed to create share dir"
	tic -o "$PKG$PREFIX/share/terminfo.cdb" st-wl.info || die "failed to compile terminfo"
}

. ${0%/*}/../../libsh/libdmake.sh