void-packages/srcpkgs/sc-im/template

28 lines
853 B
Bash

# Template file for 'sc-im'
pkgname=sc-im
version=0.8.3
revision=2
build_wrksrc="src"
build_style=gnu-makefile
make_build_args="CFLAGS+=-DXLS LDLIBS+=-lxlsreader"
hostmakedepends="bison pkg-config gnuplot which"
makedepends="libxls-devel libxlsxwriter-devel libxml2-devel libzip-devel
lua54-devel ncurses-devel"
depends="less"
short_desc="SpreadSheet Calculator (sc) Improvised"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-4-Clause"
homepage="https://github.com/andmarti1424/sc-im/"
changelog="https://github.com/andmarti1424/sc-im/releases"
distfiles="https://github.com/andmarti1424/sc-im/archive/v${version}.tar.gz"
checksum=5568f9987b6d26535c0e7a427158848f1bc03d829f74e41cbcf007d8704e9bd3
post_extract() {
vsed -i -e 's/^ *CFLAGS/override &/' \
-e 's/^ *LDLIBS/override &/' src/Makefile
}
post_install() {
vlicense ../LICENSE
}