diff --git a/srcpkgs/gcsf/template b/srcpkgs/gcsf/template new file mode 100644 index 00000000000..0bb53fc453a --- /dev/null +++ b/srcpkgs/gcsf/template @@ -0,0 +1,26 @@ +# Template file for 'gcsf' +pkgname=gcsf +version=0.1.17 +revision=1 +hostmakedepends="cargo pkg-config" +makedepends="fuse-devel libressl-devel" +short_desc="FUSE file system based on Google Drive" +maintainer="Benjamín Albiñana " +license="MIT" +homepage="https://github.com/harababurel/gcsf" +distfiles="https://github.com/harababurel/gcsf/archive/${version}.tar.gz" +checksum=d306a5838f31e030bebb5ac21115cc67f32aec3e56694718d1979a1a921ea3d8 +nocross=yes + +do_build() { + cargo build --release +} + +do_check() { + cargo test --release +} + +do_install() { + vbin target/release/"${pkgname}" + vlicense LICENSE +}