diff --git a/srcpkgs/ubase-git/template b/srcpkgs/ubase-git/template new file mode 100644 index 00000000000..0baa7fe1156 --- /dev/null +++ b/srcpkgs/ubase-git/template @@ -0,0 +1,25 @@ +# Template file for 'ubase-git' +pkgname=ubase-git +version=20140422 +revision=1 +build_style=gnu-makefile +short_desc="Suckless linux base utils" +maintainer="Ypnose " +license="MIT" +homepage="http://tools.suckless.org/ubase" + +do_fetch() { + local url="git://git.suckless.org/ubase" + 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} +} +