zola: update to 0.18.0, adopt

This commit is contained in:
Marcin Puc 2023-12-19 10:44:39 +01:00 committed by classabbyamp
parent bf96cc5ac5
commit 95c7587fdc

View file

@ -1,27 +1,24 @@
# Template file for 'zola'
pkgname=zola
version=0.17.2
version=0.18.0
revision=1
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config"
makedepends="oniguruma-devel"
short_desc="Fast opinionated static site generator"
maintainer="Carson Page <pagem.carson@gmail.com>"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="MIT"
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=471238f38076803cb2af1c53cf418280ae51694fbcc2e547da3f6715a718c750
checksum=c0e1711a68bc005c2e0ecc76a468f3459739c9e54af34850cb725d04391e19b5
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
export PKG_CONFIG_ALL_DYNAMIC=1
export RUSTONIG_SYSTEM_LIBONIG=1
post_install() {
for shell in bash fish zsh; do
vtargetrun ${DESTDIR}/usr/bin/zola completion ${shell} > zola.${shell}