void-packages/srcpkgs/zola/template
2019-07-27 15:01:21 +02:00

33 lines
897 B
Bash

# Template file for 'zola'
pkgname=zola
version=0.8.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libressl-devel libsass-devel"
short_desc="Fast opinionated static site generator written in rust"
maintainer="Carson Page <pagem.carson@gmail.com>"
license="MIT"
homepage="https://github.com/getzola/zola"
changelog="https://github.com/getzola/zola/raw/master/CHANGELOG.md"
distfiles="https://github.com/getzola/zola/archive/v${version}.tar.gz"
checksum=c16909fc20ad3e2f922beb270b2350928669149ba2e958de72558f96620a9624
case $XBPS_TARGET_MACHINE in
armv6l-musl) broken="triggers segfailt in rustc" ;;
esac
post_install() {
vlicense LICENSE
ln -sr ${DESTDIR}/usr/bin/zola ${DESTDIR}/usr/bin/gutenberg
}
gutenberg_package() {
archs=noarch
depends="zola-${version}_${revision}"
short_desc="Transition package for Zola"
pkg_install() {
vmove usr/bin/gutenberg
}
}