# Template file for 'zola' pkgname=zola version=0.22.1 revision=1 build_style=cargo build_helper=qemu configure_args="--no-default-features --features=native-tls" hostmakedepends="pkg-config" makedepends="oniguruma-devel openssl-devel" short_desc="Fast opinionated static site generator" maintainer="tranzystorekk " license="EUPL-1.2" homepage="https://github.com/getzola/zola" changelog="https://raw.githubusercontent.com/getzola/zola/master/CHANGELOG.md" distfiles="https://github.com/getzola/zola/archive/refs/tags/v${version}.tar.gz" checksum=0f59479e05bce79e8d5860dc7e807ea818986094469ed8bf0bb46588ade95982 post_install() { for _shell in bash fish zsh; do vtargetrun ${DESTDIR}/usr/bin/zola completion ${_shell} > zola.${_shell} vcompletion zola.${_shell} ${_shell} done vlicense LICENSE ln -s zola ${DESTDIR}/usr/bin/gutenberg } gutenberg_package() { depends="zola-${version}_${revision}" short_desc="Transition package for Zola" pkg_install() { vmove usr/bin/gutenberg } }