void-packages/srcpkgs/snb-git/template

29 lines
581 B
Bash
Raw Normal View History

2015-01-02 15:57:55 +01:00
# Template file for 'snb-git'
pkgname=snb-git
2015-02-23 18:43:58 +01:00
version=20150223
2015-01-02 15:57:55 +01:00
revision=1
build_style=gnu-makefile
hostmakedepends="git"
makedepends="ncurses-devel"
short_desc="Simple hierarchical notebook"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="BSD"
homepage="https://github.com/drbig/snb"
provides="snb-${version}_${revision}"
do_fetch() {
git clone ${homepage} ${pkgname}-${version}
}
pre_build() {
sed -e "/^CC=.*/d" -i Makefile
sed -e "s|^CFLAGS=.*|CFLAGS=$CFLAGS|" -i Makefile
}
do_install() {
vbin bin/snb
2015-02-23 18:43:58 +01:00
vman snb.1
2015-01-02 15:57:55 +01:00
vdoc help.md
vlicense LICENSE.txt LICENSE
}