aboutsummaryrefslogtreecommitdiff
path: root/development/hugo
diff options
context:
space:
mode:
authorAndrew Payne <phalange@komputermatrix.com>2020-10-23 21:25:23 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-23 21:25:23 +0700
commit390f14a213e055456580234084ba029e53441741 (patch)
tree0566dcad949928ff8948ab00747448e83f433074 /development/hugo
parente34f23b6cecebf27a6df4d1e88d62707ff2c0459 (diff)
development/hugo: Updated for version 0.76.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/hugo')
-rw-r--r--development/hugo/README9
-rw-r--r--development/hugo/hugo.SlackBuild8
-rw-r--r--development/hugo/hugo.info14
-rw-r--r--development/hugo/slack-desc10
4 files changed, 20 insertions, 21 deletions
diff --git a/development/hugo/README b/development/hugo/README
index b07a0f4ca2f54..13a15c6e49885 100644
--- a/development/hugo/README
+++ b/development/hugo/README
@@ -5,7 +5,7 @@ website.
Hugo relies on Markdown files with front matter for metadata, and you
can run Hugo from any directory. This works well for shared hosts and
-other systems where you don't have a privileged account.
+other systems where you don’t have a privileged account.
Hugo renders a typical website of moderate size in a fraction of a
second. A good rule of thumb is that each piece of content renders in
@@ -14,8 +14,5 @@ around 1 millisecond.
Hugo is designed to work well for any kind of website including blogs,
tumbles, and docs.
-Please note, Hugo is under active development and its features set may
-change from one release to the next.
-
-This Slackbuild simply installs the Hugo binary in /usr/bin for easier
-upgrades.
+Notes:
+This Slackbuild installs the Hugo binary in /opt
diff --git a/development/hugo/hugo.SlackBuild b/development/hugo/hugo.SlackBuild
index 058145a4fd737..388e30439d754 100644
--- a/development/hugo/hugo.SlackBuild
+++ b/development/hugo/hugo.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for hugo
+# Copyright 2020 Andrew Payne
# Copyright 2018-2019 Donald Cooley South Haven, IN USA
# All rights reserved.
#
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hugo
-VERSION=${VERSION:-0.60.1}
+VERSION=${VERSION:-0.76.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,8 +66,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin/
-cp hugo $PKG/usr/bin/hugo
+mkdir -p $PKG/{usr/bin,opt/$PRGNAM}
+ cp -a * $PKG/opt/$PRGNAM
+ ln -s /opt/$PRGNAM/hugo $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
diff --git a/development/hugo/hugo.info b/development/hugo/hugo.info
index 2406ea0b480a6..73ce622d1a34b 100644
--- a/development/hugo/hugo.info
+++ b/development/hugo/hugo.info
@@ -1,10 +1,10 @@
PRGNAM="hugo"
-VERSION="0.60.1"
+VERSION="0.76.5"
HOMEPAGE="https://gohugo.io"
-DOWNLOAD="https://github.com/gohugoio/hugo/releases/download/v0.60.1/hugo_0.60.1_Linux-32bit.tar.gz"
-MD5SUM="f0e5f789af46be298f141541a537a453"
-DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.60.1/hugo_0.60.1_Linux-64bit.tar.gz"
-MD5SUM_x86_64="876c51da7649fc0dc4b907136b54b45c"
+DOWNLOAD="https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-32bit.tar.gz"
+MD5SUM="2f47aff2fb0010070e5aef4ade01c467"
+DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_0.76.5_Linux-64bit.tar.gz"
+MD5SUM_x86_64="a80b9e8c831d7bad4374cb979591a44c"
REQUIRES=""
-MAINTAINER="Donald Cooley"
-EMAIL="chytraeu@sdf.org"
+MAINTAINER="Andrew Payne"
+EMAIL="phalange@komputermatrix.com"
diff --git a/development/hugo/slack-desc b/development/hugo/slack-desc
index c1f14fb1e433e..f7eafa6a28ed6 100644
--- a/development/hugo/slack-desc
+++ b/development/hugo/slack-desc
@@ -10,10 +10,10 @@ hugo: hugo (static HTML and CSS website generator written in Go)
hugo:
hugo: Hugo is a static HTML and CSS website generator written in Go. It is
hugo: optimized for speed, ease of use, and configurability. Hugo takes a
-hugo: directory with content and templates and renders them into a full HTML
-hugo: website.
-hugo: Hugo relies on Markdown files with front matter for metadata, and you
-hugo: can run Hugo from any directory. This works well for shared hosts and
-hugo: other systems where you don't have a privileged account.
+hugo: directory with content and templates and renders them into a full
+hugo: HTML website.
+hugo:
hugo: Homepage: https://gohugo.io
hugo:
+hugo:
+hugo: