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

27 lines
645 B
Bash

# Template file for 'ls++-git'
pkgname=ls++-git
version=20140919
revision=2
noarch="yes"
build_style=perl-module
hostmakedepends="perl git"
makedepends="perl-Term-ExtendedColor"
depends="perl-Term-ExtendedColor"
conf_files="/etc/ls++.conf"
short_desc="Colorized ls on steroids"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
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
}