cloc: needs perl at run-time; misc tweaks.
This commit is contained in:
parent
2ea8aaa29b
commit
f49b791971
1 changed files with 4 additions and 3 deletions
|
@ -1,10 +1,12 @@
|
|||
# Template file for 'cloc'
|
||||
pkgname=cloc
|
||||
version=1.60
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc=$pkgname
|
||||
create_wrksrc=yes
|
||||
noarch=yes
|
||||
makedepends="perl"
|
||||
depends="perl"
|
||||
short_desc="Count Lines of Code"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="GPL-2"
|
||||
|
@ -14,6 +16,5 @@ skip_extraction="$pkgname-$version.pl"
|
|||
checksum=4aa870bef104fd2b8f03c667ef8be2cd671cdf59f46c72046c43ed14e222a05c
|
||||
|
||||
do_install() {
|
||||
cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.pl cloc
|
||||
vinstall cloc 755 usr/bin
|
||||
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.pl 755 usr/bin cloc
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue