void-packages/srcpkgs/sc-im/template
2017-12-15 15:26:44 +01:00

26 lines
840 B
Bash

# Template file for 'sc-im'
pkgname=sc-im
version=0.7.0
revision=1
build_wrksrc="src"
build_style=gnu-makefile
make_build_args="prefix=/usr CFLAGS+=-DXLS LDLIBS+=-lxlsreader"
make_install_args="prefix=/usr"
hostmakedepends="bison pkg-config gnuplot"
makedepends="libxls-devel libxml2-devel libzip-devel lua51-devel ncurses-devel"
depends="less"
short_desc="SpreadSheet Calculator (sc) Improvised"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="4-clause-BSD"
homepage="https://github.com/andmarti1424/sc-im/"
distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
checksum=87225918cb6f52bbc068ee6b12eaf176c7c55ba9739b29ca08cb9b6699141cad
post_extract() {
sed -i -e 's/lua51/lua5.1/g' \
-e 's/^ *CFLAGS/override &/' \
-e 's/^ *LDLIBS/override &/' src/Makefile
}
post_install() {
vlicense ../LICENSE
}