From 61bad8a9fd5609f92c8a901ee38b443f8eef858b Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Thu, 21 May 2015 11:52:10 +0200 Subject: [PATCH] New package: bash-preexec-0.2.1 --- srcpkgs/bash-preexec/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/bash-preexec/template diff --git a/srcpkgs/bash-preexec/template b/srcpkgs/bash-preexec/template new file mode 100644 index 0000000000..ec0e92d7ae --- /dev/null +++ b/srcpkgs/bash-preexec/template @@ -0,0 +1,21 @@ +# Template file for 'bash-preexec' +pkgname=bash-preexec +_mantainer=rcaloras +version=0.2.1 +revision=1 +noarch=yes +hostmakedepends="git" +depends="bash" +short_desc="Preexec and Precmd functions for Bash just like Zsh" +maintainer="Andrea Brancaleoni " +license="MIT" +homepage="http://github.com/${_mantainer}/${pkgname}" + +do_fetch() { + local url="git://github.com/${_mantainer}/${pkgname}" + msg_normal "Fetching source from $url ...\n" + git clone --branch ${version} ${url} ${pkgname}-${version} +} +do_install() { + vbin bash-preexec.sh +}