parent
35189c0f80
commit
625491f945
1 changed files with 21 additions and 0 deletions
21
srcpkgs/loc/template
Normal file
21
srcpkgs/loc/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'loc'
|
||||||
|
pkgname=loc
|
||||||
|
version=0.4.1
|
||||||
|
revision=1
|
||||||
|
hostmakedepends="cargo"
|
||||||
|
short_desc="Count lines of code quickly"
|
||||||
|
maintainer="SolitudeSF <solitudesf@protonmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/cgag/loc"
|
||||||
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
|
checksum=1e8403fd9a3832007f28fb389593cd6a572f719cd95d85619e7bbcf3dbea18e5
|
||||||
|
nocross=yes
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
cargo build --release
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin target/release/loc
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue