void-packages/srcpkgs/sandy/template
2018-11-29 14:30:32 -02:00

26 lines
748 B
Bash

# Template file for 'sandy'
pkgname=sandy
version=0.4
revision=4
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS=-lncurses"
makedepends="ncurses-devel"
short_desc="A simple ncurses text editor"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="MIT"
homepage="http://tools.suckless.org/${pkgname}"
distfiles="${SOURCEFORGE_SITE}/sandyeditor/files/${pkgname}-${version}.tar.gz"
checksum=3c51a891efa2ec9e2aa6ae3c1aa290beaf8075dae9abb9a46b5a7d619cb2fb67
replaces="sandy-git>=0"
pre_build() {
sed -i 's|-O0 ||g' config.mk
sed -i 's|^CPPFLAGS =|override CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS =|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS =|override LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
vdoc README
}