aboutsummaryrefslogtreecommitdiff
path: root/system/progress
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-06-14 15:53:55 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-06-18 09:09:55 +0700
commitb9801743f324cefee02740afa5ff3880f5b9c692 (patch)
treecf4792ea3ab60aa1b051b6a0fe34444ce94ad5b4 /system/progress
parent1889c6385ec050b01dccf0c3cbce128dc6086dfc (diff)
system/progress: Downgraded to version 0.16.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/progress')
-rw-r--r--system/progress/progress.SlackBuild13
-rw-r--r--system/progress/progress.info8
2 files changed, 13 insertions, 8 deletions
diff --git a/system/progress/progress.SlackBuild b/system/progress/progress.SlackBuild
index b21c53b37648..eea71196040d 100644
--- a/system/progress/progress.SlackBuild
+++ b/system/progress/progress.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for progress
-# Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=progress
-VERSION=${VERSION:-1.6}
+VERSION=${VERSION:-0.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,13 +79,18 @@ 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 {} \;
-python3 setup.py install --root=$PKG
+sed -i -e 's/usr\/local/usr/' -e 's/share\/man/man/' Makefile
+
+make install DESTDIR=$PKG
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/progress/progress.info b/system/progress/progress.info
index 8654f383d0e3..29c496d03ad1 100644
--- a/system/progress/progress.info
+++ b/system/progress/progress.info
@@ -1,8 +1,8 @@
PRGNAM="progress"
-VERSION="1.6"
-HOMEPAGE="https://github.com/verigak/progress"
-DOWNLOAD="https://github.com/verigak/progress/archive/1.6/progress-1.6.tar.gz"
-MD5SUM="782efe5bf7807508c085942189a98329"
+VERSION="0.16"
+HOMEPAGE="https://github.com/Xfennec/progress"
+DOWNLOAD="https://github.com/Xfennec/progress/archive/v0.16/progress-0.16.tar.gz"
+MD5SUM="8759713cc1745cde50d3a1ec8ae0bc06"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""