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 +}