1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
26 lines
646 B
Bash
26 lines
646 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="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
|
|
}
|