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

27 lines
652 B
Plaintext
Raw Normal View History

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