mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
tokei: use cargo buildstyle
This commit is contained in:
parent
5e74e4ac1b
commit
536972a7ee
1 changed files with 3 additions and 9 deletions
|
@ -1,22 +1,16 @@
|
||||||
# Template file for 'tokei'
|
# Template file for 'tokei'
|
||||||
pkgname=tokei
|
pkgname=tokei
|
||||||
version=8.0.1
|
version=8.0.1
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cargo"
|
build_style=cargo
|
||||||
short_desc="Count lines of code"
|
short_desc="Count lines of code"
|
||||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/Aaronepower/tokei"
|
homepage="https://github.com/Aaronepower/tokei"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=9d365695e3c790747d982bf0dc598f2a65b7e51b90fa98d4f34dfef72a019e13
|
checksum=9d365695e3c790747d982bf0dc598f2a65b7e51b90fa98d4f34dfef72a019e13
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/tokei
|
|
||||||
vlicense LICENCE-APACHE
|
vlicense LICENCE-APACHE
|
||||||
vlicense LICENCE-MIT
|
vlicense LICENCE-MIT
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue