New package: sc-im-0.3.0
This commit is contained in:
parent
62bec4518e
commit
7328e5141c
29
srcpkgs/sc-im/template
Normal file
29
srcpkgs/sc-im/template
Normal file
@ -0,0 +1,29 @@
|
||||
# Template file for 'sc-im'
|
||||
pkgname=sc-im
|
||||
version=0.3.0
|
||||
revision=1
|
||||
build_wrksrc="src"
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="bison"
|
||||
makedepends="libxls-devel libxml2-devel libzip-devel ncurses-devel"
|
||||
depends="less"
|
||||
short_desc="SpreadSheet Calculator (sc) Improvised"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="BSD"
|
||||
homepage="https://github.com/andmarti1424/sc-im/"
|
||||
distfiles="https://github.com/andmarti1424/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=d721e8fb850ebe3c590311ab14e37e92b3340a19e41cdfd67798fdcfac6fae3b
|
||||
|
||||
post_extract() {
|
||||
sed -i 's,<ncursesw/,<,g' src/*.[ch]
|
||||
}
|
||||
do_build() {
|
||||
make -j1 CC="$CC" XLS=-DXLS XLSX=-DXLSX \
|
||||
LINUX="-DLINUX $CFLAGS \
|
||||
-I${XBPS_CROSS_BASE}/usr/include/libxml2 \
|
||||
-I${XBPS_CROSS_BASE}/usr/include/libxls" \
|
||||
LDLIBS="$LDFLAGS -lm -lncurses -lzip -lxml2 -lxlsreader"
|
||||
}
|
||||
post_install() {
|
||||
vlicense ../LICENSE
|
||||
}
|
Loading…
Reference in New Issue
Block a user