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>
This commit is contained in:
Dimitris Zlatanidis 2022-06-14 15:53:55 +03:00 committed by Willy Sudiarto Raharjo
parent 1889c6385e
commit b9801743f3
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 8 deletions

View file

@ -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

View file

@ -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=""