void-packages/srcpkgs/sandy-git/template

29 lines
682 B
Plaintext
Raw Normal View History

2014-07-07 19:30:59 +02:00
# 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
}