void-packages/srcpkgs/sandy-git/template
2014-07-07 19:30:59 +02:00

28 lines
682 B
Text

# Template file for 'sandy-git'
pkgname=sandy-git
version=20140707
revision=1
makedepends="ncurses-devel"
build_style=gnu-makefile
short_desc="A simple ncurses text editor"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://tools.suckless.org/sandy"
provides="sandy-${version}_${revision}"
replaces="sandy>=0"
do_fetch() {
local url="git://git.suckless.org/sandy"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
sed -i 's| -I/usr/include||g' config.mk
sed -i 's|-L/usr/lib ||g' config.mk
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/sandy
vinstall README 644 usr/share/doc/sandy
}