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

27 lines
652 B
Text
Raw Normal View History

2013-08-29 12:21:35 +00:00
# Template file for 'ls++-git'
pkgname=ls++-git
2014-09-19 18:27:55 +00:00
version=20140919
revision=2
noarch="yes"
2013-08-29 12:21:35 +00:00
build_style=perl-module
hostmakedepends="perl>=5.20 git"
2013-08-29 12:52:49 +00:00
makedepends="perl-Term-ExtendedColor"
depends="perl-Term-ExtendedColor"
conf_files="/etc/ls++.conf"
2013-08-29 12:21:35 +00:00
short_desc="Colorized ls on steroids"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="GPL-2"
homepage="https://github.com/trapd00r/ls--"
2014-05-31 11:14:37 +00:00
provides="ls++-${version}_${revision}"
replaces="ls++>=0"
2013-08-29 12:21:35 +00:00
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
2013-08-29 12:21:35 +00:00
}