fool: use cargo buildstyle
This commit is contained in:
parent
f845e26b48
commit
2bbca32961
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'fool'
|
# Template file for 'fool'
|
||||||
pkgname=fool
|
pkgname=fool
|
||||||
version=0.2.1
|
version=0.2.1
|
||||||
revision=2
|
revision=3
|
||||||
hostmakedepends="cargo"
|
build_style=cargo
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
short_desc="A powerful git terminal interface which focuses on usability"
|
short_desc="A powerful git terminal interface which focuses on usability"
|
||||||
maintainer="Wilson Birney <wpb@360scada.com>"
|
maintainer="Wilson Birney <wpb@360scada.com>"
|
||||||
|
@ -10,13 +10,7 @@ license="MIT"
|
||||||
homepage="https://github.com/spacekookie/fool"
|
homepage="https://github.com/spacekookie/fool"
|
||||||
distfiles="https://github.com/spacekookie/fool/archive/v${version}.tar.gz"
|
distfiles="https://github.com/spacekookie/fool/archive/v${version}.tar.gz"
|
||||||
checksum=41fa1a10a3b3cadba4700b809df13df9ed109ecc5c54ba8b645269abff84a41a
|
checksum=41fa1a10a3b3cadba4700b809df13df9ed109ecc5c54ba8b645269abff84a41a
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/${pkgname}
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue