27 lines
757 B
Bash
27 lines
757 B
Bash
|
# Template file for 'sandy'
|
||
|
pkgname=sandy
|
||
|
version=0.4
|
||
|
revision=1
|
||
|
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"
|
||
|
checksum="7b8eda65ee726ed5aef5f1f719d3d86328959ebcdbca9216fed57f7139382aa7"
|
||
|
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
|
||
|
}
|