aboutsummaryrefslogtreecommitdiff
path: root/development/hugo/hugo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/hugo/hugo.SlackBuild')
-rwxr-xr-x[-rw-r--r--]development/hugo/hugo.SlackBuild12
1 files changed, 5 insertions, 7 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