diff --git a/srcpkgs/sbase-git/template b/srcpkgs/sbase-git/template new file mode 100644 index 00000000000..22683a9cb14 --- /dev/null +++ b/srcpkgs/sbase-git/template @@ -0,0 +1,25 @@ +# Template file for 'sbase-git' +pkgname=sbase-git +version=20140423 +revision=1 +build_style=gnu-makefile +short_desc="Suckless unix tools" +maintainer="Ypnose " +license="MIT" +homepage="http://tools.suckless.org/sbase" +conflicts="coreutils>=0 base-system-busybox>=0" + +do_fetch() { + local url="git://git.suckless.org/sbase" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +pre_build() { + LD=$CC +} + +post_install() { + vinstall LICENSE 644 usr/share/licenses/${pkgname} + vinstall README 644 usr/share/doc/${pkgname} +}