From bb748a9b5903420aa1261674eac2c26067d20b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjam=C3=ADn=20Albi=C3=B1ana?= Date: Thu, 30 Aug 2018 11:12:28 +0300 Subject: [PATCH] New package: gcsf (#2229) --- srcpkgs/gcsf/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/gcsf/template 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 +}