24 lines
613 B
Bash
24 lines
613 B
Bash
# 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 <pagem.carson@gmail.com>"
|
|
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
|
|
}
|