From b36750a24f0ecfc248a70af2d26a698d789b7579 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 1 Jul 2014 18:06:56 +0200 Subject: [PATCH] New package: cloc-1.60 --- srcpkgs/cloc/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/cloc/template diff --git a/srcpkgs/cloc/template b/srcpkgs/cloc/template new file mode 100644 index 00000000000..5a214f1b6bd --- /dev/null +++ b/srcpkgs/cloc/template @@ -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 " +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 +}