Merge pull request #1624 from thypon/bash-preexec
New package: bash-preexec-0.2.1
This commit is contained in:
commit
d8bf6decc2
|
@ -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 <miwaxe@gmail.com>"
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue