void-packages/srcpkgs/sc/template

36 lines
868 B
Bash

# Template file for 'sc'
pkgname=sc
version=7.16
revision=3
build_style=gnu-makefile
hostmakedepends="bison"
makedepends="ncurses-devel"
short_desc="A free curses-based spreadsheet program"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="Public Domain"
homepage="http://ibiblio.org/pub/linux/apps/financial/spreadsheet/!INDEX.html"
distfiles="http://ibiblio.org/pub/linux/apps/financial/spreadsheet/sc-${version}.tar.gz
https://launchpadlibrarian.net/1281150/sc_${version}-2.diff.gz"
checksum="1997a00b6d82d189b65f6fd2a856a34992abc99e50d9ec463bbf1afb750d1765
37116b9619790564650c4090b4a6264c08aa59fa1e24c63ca073011cd70507cb"
CFLAGS='-DSYSV3'
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
}