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