void-packages/srcpkgs/nickle/template
2019-01-25 08:31:15 -02:00

24 lines
708 B
Bash

# Template file for 'nickle'
pkgname=nickle
version=2.84
revision=2
build_style=gnu-configure
makedepends="readline-devel"
short_desc="Powerful desk calculator language"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://nickle.org/"
distfiles="https://nickle.org/release/${pkgname}-${version}.tar.gz"
checksum=ba785eaa352264d638168bf88abacf2e36aa32b881805bc8181b4f3dc26a74d5
pre_build() {
make CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" \
LD="ld" LDFLAGS="$BUILD_LDFLAGS" LIBS="-lm" \
-C test math-tables
}
post_install() {
vmkdir usr/share/examples
mv ${DESTDIR}/usr/share/nickle/examples ${DESTDIR}/usr/share/examples/nickle
rm -rf ${DESTDIR}/usr/include
vlicense COPYING
}