# Template file for 'ls++-git'
pkgname=ls++-git
version=20140531
revision=1
noarch="yes"
build_style=perl-module 
hostmakedepends="perl>=5.18 git"
makedepends="perl-Term-ExtendedColor"
depends="perl-Term-ExtendedColor"
conf_files="/etc/ls++.conf"
short_desc="Colorized ls on steroids"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL-2"
homepage="https://github.com/trapd00r/ls--"
provides="ls++-${version}_${revision}"
replaces="ls++>=0"

do_fetch() {
	local url="git://github.com/trapd00r/ls--"
	msg_normal "Fetching source from $url ...\n"
	git clone ${url} ${pkgname}-${version}
}

post_install() {
	vinstall ${wrksrc}/ls++.conf 644 etc
}
