From ac729ad6b6d6c3eaa57bccae18ccbd57c0e5fb7e Mon Sep 17 00:00:00 2001 From: Carson Page Date: Wed, 8 Nov 2017 14:45:22 -0600 Subject: [PATCH] New package: gutenberg-0.2.2. --- srcpkgs/gutenberg/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/gutenberg/template diff --git a/srcpkgs/gutenberg/template b/srcpkgs/gutenberg/template new file mode 100644 index 0000000000..aace6fb4e2 --- /dev/null +++ b/srcpkgs/gutenberg/template @@ -0,0 +1,24 @@ +# Template file for 'gutenberg' +pkgname=gutenberg +version=0.2.2 +revision=1 +hostmakedepends="rust cmake git cargo pkg-config" +makedepends="libsass-devel" +short_desc="A fast opinionated static site generator written in rust" +maintainer="Carson Page " +license="MIT" +homepage="https://getgutenberg.io/" +distfiles="https://github.com/Keats/gutenberg/archive/v${version}.tar.gz" +checksum=6ae747e791c96591bc8d3b41b1609ce53d06ad384c7db3c96875b5f8f049f72f +nocross=yes + +do_build() { + cargo build --release +} + +do_install() { + # Install the binary + vbin target/release/${pkgname} + + vlicense LICENSE +}