office/impressive: Updated for version 0.13.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-05-11 06:34:03 +07:00
parent 6701f0f883
commit 20bdfa0cdf
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 9 additions and 9 deletions

View file

@ -33,7 +33,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=impressive
VERSION=${VERSION:-0.13.0_beta2+20220110_r312}
SRCNAM=Impressive
VERSION=${VERSION:-0.13.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -54,9 +55,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -64,14 +65,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 {} \+
make
sed -i '1s/python/python3/' $PRGNAM.py
install -D -m 0755 $PRGNAM.py $PKG/usr/bin/$PRGNAM
mkdir -p $PKG/usr/man/man1
gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a site/$PRGNAM.html demo.pdf *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $PRGNAM.html demo.pdf *.txt $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="impressive"
VERSION="0.13.0_beta2+20220110_r312"
VERSION="0.13.2"
HOMEPAGE="http://impressive.sourceforge.net/"
DOWNLOAD="https://slackware.uk/~urchlay/src/impressive-0.13.0_beta2+20220110_r312.tar.xz"
MD5SUM="744b4a9edf9d976f2b3caf4d800a8f0c"
DOWNLOAD="https://sourceforge.net/projects/impressive/files/Impressive/0.13.2/Impressive-0.13.2.tar.gz"
MD5SUM="a43e8caf452dff48f42aba05c8aa9ef7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-pygame"