void-packages/srcpkgs/ls++-git/template

26 lines
652 B
Text

# Template file for 'ls++-git'
pkgname=ls++-git
version=20140919
revision=2
noarch="yes"
build_style=perl-module
hostmakedepends="perl>=5.20 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
}