fool: use cargo buildstyle

This commit is contained in:
Rasmus Thomsen 2018-10-02 01:14:41 +02:00 committed by Enno Boland
parent f845e26b48
commit 2bbca32961
1 changed files with 3 additions and 9 deletions

View File

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