summaryrefslogtreecommitdiffstats
path: root/development/hugo
diff options
context:
space:
mode:
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 b07a0f4ca2..13a15c6e49 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 f9e32fb800..3782959858 100644
--- a/development/hugo/hugo.SlackBuild
+++ b/development/hugo/hugo.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for hugo
+# Copyright 2020-2021 Andrew Payne <phalange@komputermatrix.com>
# 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.55.6}
+VERSION=${VERSION:-0.82.0}
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 118a74dbee..ce0a606a2e 100644
--- a/development/hugo/hugo.info
+++ b/development/hugo/hugo.info
@@ -1,10 +1,10 @@
PRGNAM="hugo"
-VERSION="0.55.6"
+VERSION="0.82.0"
HOMEPAGE="https://gohugo.io"
-DOWNLOAD="https://github.com/gohugoio/hugo/releases/download/v0.55.6/hugo_0.55.6_Linux-32bit.tar.gz"
-MD5SUM="a51d4f590f63cac3807deababf0f2394"
-DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.55.6/hugo_0.55.6_Linux-64bit.tar.gz"
-MD5SUM_x86_64="8d2d6b35b7a1946a22373c949663b48e"
+DOWNLOAD="UNSUPPORTED"
+MD5SUM=""
+DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.82.0/hugo_0.82.0_Linux-64bit.tar.gz"
+MD5SUM_x86_64="04c20128b353dc4c329ea0a48cfb20b5"
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 c1f14fb1e4..f7eafa6a28 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: