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