void-packages/srcpkgs/gutenberg/template

23 lines
587 B
Bash

# Template file for 'gutenberg'
pkgname=gutenberg
version=0.3.4
revision=1
hostmakedepends="cargo cmake git pkg-config"
makedepends="libsass-devel"
short_desc="Fast opinionated static site generator written in rust"
maintainer="Carson Page <pagem.carson@gmail.com>"
license="MIT"
homepage="https://www.getgutenberg.io/"
distfiles="https://github.com/Keats/gutenberg/archive/v${version}.tar.gz"
checksum=cc3d379a617061ccf594082732e81c003464f67ec0d4e0898cbcf74e817b95d4
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/${pkgname}
vlicense LICENSE
}