New package: cloc-1.60

This commit is contained in:
Christian Neukirchen 2014-07-01 18:06:56 +02:00
parent 09af783f98
commit b36750a24f

19
srcpkgs/cloc/template Normal file
View File

@ -0,0 +1,19 @@
# Template file for 'cloc'
pkgname=cloc
version=1.60
revision=1
wrksrc=$pkgname
create_wrksrc=yes
noarch=yes
short_desc="Count Lines of Code"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://cloc.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/v$version/$pkgname-$version.pl"
skip_extraction="$pkgname-$version.pl"
checksum=4aa870bef104fd2b8f03c667ef8be2cd671cdf59f46c72046c43ed14e222a05c
do_install() {
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.pl cloc
vinstall cloc 755 usr/bin
}