void-packages/srcpkgs/tab/template

27 lines
648 B
Bash

# Template file for 'tab'
pkgname=tab
version=9.1
revision=1
wrksrc="tkatchev-tab-457574615bf4"
checkdepends="python3"
short_desc="Shell language for text/number manipulation"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSL-1.0"
homepage="http://tkatchev.bitbucket.io/tab/"
distfiles="https://bitbucket.org/tkatchev/${pkgname}/get/${version}.tar.bz2"
checksum=ccc72e4c8a5f0d7786a8c4a4c8b8dd5599ad867c876605b2cacad7f32c30651a
do_build() {
${CXX} ${CXXFLAGS} -std=c++11 -Wall -Iaxe *.cc -o tab ${LDFLAGS} -pthread -lm
}
do_check() {
( cd test; python go.py; )
}
do_install() {
vbin tab
vlicense LICENSE.txt LICENSE
vdoc README.md
}