void-packages/srcpkgs/clac/template
2017-07-11 17:37:07 +02:00

21 lines
611 B
Bash

# Template file for 'clac'
pkgname=clac
version=0.3.0
revision=2
build_style=gnu-makefile
short_desc="Interactive command line, stack-based calculator"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="2-clause-BSD"
homepage="https://github.com/soveran/clac"
distfiles="https://github.com/soveran/${pkgname}/archive/${version}.tar.gz"
checksum=a7a2397fdbac93924ca83c72e2df2027029f54c8921b813230208dd167ed0c20
do_build() {
${CC} ${CFLAGS} -o clac -I deps/sds -I deps/linenoise \
clac.c deps/sds/sds.c deps/linenoise/linenoise.c ${LDFLAGS} -lm
}
do_install() {
vbin clac
vman clac.1
vlicense LICENSE
}