From a03d0b47e4e007d7678493837415883fa93d40d5 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 19 Nov 2018 16:17:47 -0200 Subject: [PATCH] New package: zola-0.5.0 --- srcpkgs/gutenberg | 1 + srcpkgs/gutenberg/patches/libressl-2.8.patch | 9 ------ srcpkgs/gutenberg/template | 22 -------------- srcpkgs/zola/gutenberg.INSTALL.msg | 2 ++ srcpkgs/zola/template | 30 ++++++++++++++++++++ 5 files changed, 33 insertions(+), 31 deletions(-) create mode 120000 srcpkgs/gutenberg delete mode 100644 srcpkgs/gutenberg/patches/libressl-2.8.patch delete mode 100644 srcpkgs/gutenberg/template create mode 100644 srcpkgs/zola/gutenberg.INSTALL.msg create mode 100644 srcpkgs/zola/template diff --git a/srcpkgs/gutenberg b/srcpkgs/gutenberg new file mode 120000 index 00000000000..9490624994e --- /dev/null +++ b/srcpkgs/gutenberg @@ -0,0 +1 @@ +zola \ No newline at end of file diff --git a/srcpkgs/gutenberg/patches/libressl-2.8.patch b/srcpkgs/gutenberg/patches/libressl-2.8.patch deleted file mode 100644 index ae42db1fd58..00000000000 --- a/srcpkgs/gutenberg/patches/libressl-2.8.patch +++ /dev/null @@ -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"} diff --git a/srcpkgs/gutenberg/template b/srcpkgs/gutenberg/template deleted file mode 100644 index ee223f7877d..00000000000 --- a/srcpkgs/gutenberg/template +++ /dev/null @@ -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 " -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 -} diff --git a/srcpkgs/zola/gutenberg.INSTALL.msg b/srcpkgs/zola/gutenberg.INSTALL.msg new file mode 100644 index 00000000000..6efdf68b2e7 --- /dev/null +++ b/srcpkgs/zola/gutenberg.INSTALL.msg @@ -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. diff --git a/srcpkgs/zola/template b/srcpkgs/zola/template new file mode 100644 index 00000000000..68b28d90f61 --- /dev/null +++ b/srcpkgs/zola/template @@ -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 " +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 +}