From b849237fd6a873a183803291d9810b76d95b22ab Mon Sep 17 00:00:00 2001 From: Ypnose Date: Tue, 22 Apr 2014 22:55:23 +0200 Subject: [PATCH] New package: ubase-git-20140422_1 --- srcpkgs/ubase-git/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/ubase-git/template 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} +} +