# Template file for 'sc-im' pkgname=sc-im version=0.8.2 revision=4 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 which" makedepends="libxls-devel libxlsxwriter-devel libxml2-devel libzip-devel lua51-devel ncurses-devel" depends="less" short_desc="SpreadSheet Calculator (sc) Improvised" maintainer="Leah Neukirchen " license="BSD-4-Clause" homepage="https://github.com/andmarti1424/sc-im/" distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz" checksum=7f00c98601e7f7709431fb4cbb83707c87016a3b015d48e5a7c2f018eff4b7f7 post_extract() { vsed -i -e 's/lua51/lua5.1/g' \ -e 's/^ *CFLAGS/override &/' \ -e 's/^ *LDLIBS/override &/' src/Makefile } post_install() { vlicense ../LICENSE }