void-packages/srcpkgs/sc/template

35 lines
881 B
Bash

# Template file for 'sc'
pkgname=sc
version=7.16
revision=1
build_style=gnu-makefile
hostmakedepends="bison"
makedepends="ncurses-devel"
short_desc="A free curses-based spreadsheet program"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Public Domain"
homepage="http://ibiblio.org/pub/linux/apps/financial/spreadsheet/!INDEX.html"
distfiles="http://ibiblio.org/pub/linux/apps/financial/spreadsheet/${pkgname}-${version}.tar.gz
https://launchpadlibrarian.net/1281150/${pkgname}_${version}-2.diff.gz"
checksum="1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
37116b9619790564650c4090b4a6264c08aa59fa1e24c63ca073011cd70507cb"
post_extract() {
patch -Np1 <../${pkgname}_${version}-2.diff
}
do_install() {
vbin sc
vbin scqref
vbin psc
make sc.1 psc.1
vman sc.1
vman psc.1
vdoc README
vdoc SC.MACROS
vdoc CHANGES
vdoc tutorial.sc
}