27 lines
750 B
Bash
27 lines
750 B
Bash
# Template file for 'sandy'
|
|
pkgname=sandy
|
|
version=0.4
|
|
revision=3
|
|
makedepends="ncurses-devel"
|
|
build_style=gnu-makefile
|
|
make_build_args="INCS=-I. LIBS=-lncurses"
|
|
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
|
|
}
|