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
|
pkgname=gcsf
|
||||||
version=0.1.18
|
version=0.1.18
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="cargo pkg-config"
|
build_style=cargo
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
makedepends="fuse-devel libressl-devel"
|
makedepends="fuse-devel libressl-devel"
|
||||||
short_desc="FUSE file system based on Google Drive"
|
short_desc="FUSE file system based on Google Drive"
|
||||||
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
maintainer="Benjamín Albiñana <benalb@gmail.com>"
|
||||||
|
@ -10,17 +11,7 @@ license="MIT"
|
||||||
homepage="https://github.com/harababurel/gcsf"
|
homepage="https://github.com/harababurel/gcsf"
|
||||||
distfiles="https://github.com/harababurel/gcsf/archive/${version}.tar.gz"
|
distfiles="https://github.com/harababurel/gcsf/archive/${version}.tar.gz"
|
||||||
checksum=0753bf3de49af4f0983b65681f6755b6602875300a168dd0abc54884ecb7986d
|
checksum=0753bf3de49af4f0983b65681f6755b6602875300a168dd0abc54884ecb7986d
|
||||||
nocross=yes
|
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
cargo build --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_check() {
|
|
||||||
cargo test --release
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin target/release/"${pkgname}"
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue