New package: zola-0.5.0

This commit is contained in:
maxice8 2018-11-19 16:17:47 -02:00 committed by maxice8
parent b33d39e0e7
commit a03d0b47e4
5 changed files with 33 additions and 31 deletions

1
srcpkgs/gutenberg Symbolic link
View File

@ -0,0 +1 @@
zola

View File

@ -1,9 +0,0 @@
--- Cargo.toml.orig 2018-10-29 23:24:38.026250624 +0100
+++ Cargo.toml 2018-10-29 23:24:52.357116316 +0100
@@ -54,3 +54,6 @@
"components/imageproc",
"components/link_checker",
]
+
+[patch.crates-io]
+openssl-sys = {git = 'https://github.com/jnbr/rust-openssl', rev = "d5471c97ae86e5bd1032eb6fd95005933f507c49"}

View File

@ -1,22 +0,0 @@
# Template file for 'gutenberg'
pkgname=gutenberg
version=0.4.2
revision=3
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>"
license="MIT"
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
case "$XBPS_TARGET_MACHINE" in
aarch64-musl) broken="https://github.com/nix-rust/nix/issues/951" ;;
esac
post_install() {
vlicense LICENSE
}

View File

@ -0,0 +1,2 @@
Gutenberg was renamed Zola upstream, thus the Void Linux gutenberg package
now depends on zola and a symlink was made from /usr/bin/zola to /usr/bin/gutenberg.

30
srcpkgs/zola/template Normal file
View File

@ -0,0 +1,30 @@
# Template file for 'zola'
pkgname=zola
version=0.5.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=718aaec6e0db6c0e6fb310d8a1ef3978f41a173e39b1c2515ca7365690b09cff
case "$XBPS_TARGET_MACHINE" in
aarch64-musl) broken="https://github.com/nix-rust/nix/issues/951" ;;
esac
post_install() {
vlicense LICENSE
ln -sr ${DESTDIR}/usr/bin/zola ${DESTDIR}/usr/bin/gutenberg
}
gutenberg_package() {
depends="zola"
short_desc="Transition package for Zola"
build_style=meta
}