-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
27 lines (25 loc) · 853 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Template file for 'sc-im'
pkgname=sc-im
version=0.8.3
revision=3
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
}