bash-preexec: switch to tarball; remove useless var

This commit is contained in:
Alessio Sergi 2015-05-21 12:31:30 +02:00
parent cf03d09f82
commit 9ebe0c1d4e

View file

@ -1,21 +1,16 @@
# Template file for 'bash-preexec'
pkgname=bash-preexec
_mantainer=rcaloras
version=0.2.1
revision=1
revision=2
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}"
homepage="https://github.com/rcaloras/bash-preexec"
distfiles="https://github.com/rcaloras/bash-preexec/archive/${version}.tar.gz"
checksum=017e0f06a5213f9a71a8fe6a368b5737470f9d8bd180a910c49d6ef616894f7b
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
}