cloc: switch to build_style=fetch.

This commit is contained in:
Juan RP 2014-07-12 17:44:40 +02:00
parent 805fc50cf0
commit e3dbf2cc54
1 changed files with 3 additions and 5 deletions

View File

@ -2,8 +2,7 @@
pkgname=cloc
version=1.60
revision=2
wrksrc=$pkgname
create_wrksrc=yes
build_style=fetch
noarch=yes
makedepends="perl"
depends="perl"
@ -11,10 +10,9 @@ 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"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/v$version/$pkgname-$version.pl>cloc"
checksum=4aa870bef104fd2b8f03c667ef8be2cd671cdf59f46c72046c43ed14e222a05c
do_install() {
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.pl 755 usr/bin cloc
vbin cloc
}