void-packages/srcpkgs/sc-im/template

28 lines
853 B
Bash

# Template file for 'sc-im'
pkgname=sc-im
version=0.8.4
revision=1
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=ebb1f10006fe49f964a356494f96d86a4f06eb018659e3b9bde63b25c03abdf0
post_extract() {
vsed -i -e 's/^ *CFLAGS/override &/' \
-e 's/^ *LDLIBS/override &/' src/Makefile
}
post_install() {
vlicense ../LICENSE
}