aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorafhpayne <github@komputermatrix.com>2022-02-05 21:04:42 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 13:00:10 +0700
commit57c7762bd62c23eb9876643a059362d08eb52a5b (patch)
tree919a1543b885c83c57aa3b774e582377b173ee8d /development
parentd4548cf3dacda40a1cfd5b063d844e2ee69c8285 (diff)
development/hugo: Updated for version 0.92.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rwxr-xr-x[-rw-r--r--]development/hugo/hugo.SlackBuild12
-rw-r--r--development/hugo/hugo.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/development/hugo/hugo.SlackBuild b/development/hugo/hugo.SlackBuild
index 7bbb4c168992..317e9478e457 100644..100755
--- a/development/hugo/hugo.SlackBuild
+++ b/development/hugo/hugo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hugo
-# Copyright 2020-2021 Andrew Payne <phalange@komputermatrix.com>
+# Copyright 2020-2022 Andrew Payne <phalange@komputermatrix.com>
# Copyright 2018-2019 Donald Cooley South Haven, IN USA
# All rights reserved.
#
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hugo
-VERSION=${VERSION:-0.82.0}
+VERSION=${VERSION:-0.92.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -51,9 +51,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
- BIT="32bit"
-elif [ "$ARCH" = "x86_64" ]; then
+if [ "$ARCH" = "x86_64" ]; then
BIT="64bit"
else
echo "$ARCH is not supported."
@@ -67,7 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM\_$VERSION\_Linux-$BIT.tar.gz -C $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM\_extended\_$VERSION\_Linux-$BIT.tar.gz -C $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -82,7 +80,7 @@ mkdir -p $PKG/{usr/bin,opt/$PRGNAM}
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README.md LICENSE \
+ LICENSE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/hugo/hugo.info b/development/hugo/hugo.info
index ce0a606a2ea5..ac97c7194f12 100644
--- a/development/hugo/hugo.info
+++ b/development/hugo/hugo.info
@@ -1,10 +1,10 @@
PRGNAM="hugo"
-VERSION="0.82.0"
+VERSION="0.92.1"
HOMEPAGE="https://gohugo.io"
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"
+DOWNLOAD_x86_64="https://github.com/gohugoio/hugo/releases/download/v0.92.1/hugo_extended_0.92.1_Linux-64bit.tar.gz"
+MD5SUM_x86_64="0097ed2d4c1c36eb77454736e0097656"
REQUIRES=""
MAINTAINER="Andrew Payne"
EMAIL="phalange@komputermatrix.com"