2015-06-14 12:48:14 +02:00
|
|
|
# Template file for 'sandy'
|
|
|
|
pkgname=sandy
|
|
|
|
version=0.4
|
2015-06-14 12:51:30 +02:00
|
|
|
revision=2
|
2015-06-14 12:48:14 +02:00
|
|
|
makedepends="ncurses-devel"
|
|
|
|
build_style=gnu-makefile
|
|
|
|
make_build_args="INCS=-I. LIBS=-lncurses"
|
|
|
|
short_desc="A simple ncurses text editor"
|
|
|
|
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://tools.suckless.org/${pkgname}"
|
|
|
|
distfiles="http://git.suckless.org/${pkgname}/snapshot/${pkgname}-${version}.tar.gz"
|
2015-06-14 12:51:30 +02:00
|
|
|
checksum="1de2b33d25accf0048cd7d51335468f24a5abaa925c534e8b9d70142090794ae"
|
2015-06-14 12:48:14 +02:00
|
|
|
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
|
|
|
|
}
|