Merge pull request #6156 from lafrenierejm/tokei
New package: tokei-6.0.0
This commit is contained in:
commit
10ad747020
1 changed files with 22 additions and 0 deletions
22
srcpkgs/tokei/template
Normal file
22
srcpkgs/tokei/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'tokei'
|
||||
pkgname=tokei
|
||||
version=6.0.0
|
||||
revision=1
|
||||
hostmakedepends="cargo rust"
|
||||
short_desc="Count lines of code"
|
||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||
license="Apache, MIT"
|
||||
homepage="https://github.com/Aaronepower/tokei"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=65b1872b8cd48214f257e7ca8ea1114d2112b29ad7d8e1fb4a8a5d4401dae02d
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/tokei
|
||||
vlicense LICENCE-APACHE
|
||||
vlicense LICENCE-MIT
|
||||
}
|
Loading…
Reference in a new issue