New package: snb-git-20150102.
This commit is contained in:
parent
a47a54996d
commit
99453793e2
1 changed files with 27 additions and 0 deletions
27
srcpkgs/snb-git/template
Normal file
27
srcpkgs/snb-git/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'snb-git'
|
||||||
|
pkgname=snb-git
|
||||||
|
version=20150102
|
||||||
|
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
|
||||||
|
vdoc help.md
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue