system/progress: Updated for version 1.6.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-05-29 22:13:35 +03:00
parent 32cdbcda80
commit 538009fd66
2 changed files with 7 additions and 13 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=progress
VERSION=${VERSION:-0.14}
VERSION=${VERSION:-1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -79,19 +79,13 @@ 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 {} \;
sed -i -e "s/\/usr\/local/\/usr/" -e "s/\/share\/man/\/man/" Makefile
make
make install DESTDIR=$PKG
python3 setup.py install --root=$PKG
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
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.rst $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="0.14"
HOMEPAGE="https://github.com/Xfennec/progress"
DOWNLOAD="https://github.com/Xfennec/progress/archive/v0.14/progress-0.14.tar.gz"
MD5SUM="37103cc9ac32a6e8a2286c56ec5a10c2"
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"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""