gutenberg: use cargo buildstyle
This commit is contained in:
parent
b660dc8d14
commit
90b8295a04
1 changed files with 4 additions and 9 deletions
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'gutenberg'
|
||||
pkgname=gutenberg
|
||||
version=0.4.2
|
||||
revision=1
|
||||
hostmakedepends="cargo cmake git pkg-config"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
hostmakedepends="cmake git pkg-config"
|
||||
makedepends="libressl-devel libsass-devel"
|
||||
short_desc="Fast opinionated static site generator written in rust"
|
||||
maintainer="Carson Page <pagem.carson@gmail.com>"
|
||||
|
@ -11,13 +12,7 @@ homepage="https://www.getgutenberg.io/"
|
|||
changelog="https://raw.githubusercontent.com/Keats/gutenberg/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/Keats/gutenberg/archive/v${version}.tar.gz"
|
||||
checksum=8d3fb9972a17f6fa8a7830c8d129a7d587f0bbfc36f5351dc4c9e44f46aa4e2d
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/${pkgname}
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue