gcsf: use cargo buildstyle
This commit is contained in:
parent
70d6175027
commit
71ae3d2730
1 changed files with 3 additions and 12 deletions
|
@ -2,7 +2,8 @@
|
|||
pkgname=gcsf
|
||||
version=0.1.18
|
||||
revision=1
|
||||
hostmakedepends="cargo pkg-config"
|
||||
build_style=cargo
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="fuse-devel libressl-devel"
|
||||
short_desc="FUSE file system based on Google Drive"
|
||||
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
||||
|
@ -10,17 +11,7 @@ license="MIT"
|
|||
homepage="https://github.com/harababurel/gcsf"
|
||||
distfiles="https://github.com/harababurel/gcsf/archive/${version}.tar.gz"
|
||||
checksum=0753bf3de49af4f0983b65681f6755b6602875300a168dd0abc54884ecb7986d
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
do_check() {
|
||||
cargo test --release
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/"${pkgname}"
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue