office/mate-calc: Updated for version 1.28.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2024-02-16 11:19:03 +07:00 committed by Willy Sudiarto Raharjo
parent f8000bf9ca
commit 41445a7ec3
No known key found for this signature in database
GPG key ID: 3F617144D7238786
5 changed files with 19 additions and 23 deletions

View file

@ -1,6 +1,4 @@
This is mate-calc, a fork of gnome-calc, the calculator application that
was previously in the OpenWindows Deskset of the Solaris 8 operating
system. It incorporates a multiple precision arithmetic packages based
on the work of Professor Richard Brent.
MATE Calculator started as a fork of gnome-calc, the calculator
application that was previously in the OpenWindows Deskset of the
Solaris 8 operating system.
It supports scientific, financial and logical modes.

View file

@ -2,9 +2,9 @@
# Slackware build script for mate-calc
# Copyright 2013 Chess Griffin <chess.griffin@gmail.com> Raleigh, NC
# Copyright 2013-2020 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2020 - 2022 Johannes Schoepfer, Germany
# Copyright 2013 Chess Griffin, Raleigh, NC
# Copyright 2013-2020 Willy Sudiarto Raharjo
# Copyright 2020-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mate-calc
VERSION=${VERSION:-1.26.0}
VERSION=${VERSION:-1.28.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -74,9 +74,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
-o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -88,6 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--without-help-dir \
--disable-schemas-compile \
--build=$ARCH-slackware-linux
make
@ -96,7 +97,7 @@ make install DESTDIR=$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 {} \;
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

View file

@ -1,8 +1,8 @@
PRGNAM="mate-calc"
VERSION="1.26.0"
HOMEPAGE="https://www.mate-desktop.org/"
DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/mate-calc-1.26.0.tar.xz"
MD5SUM="2d9239cbfd1819300f4b595155ffe912"
VERSION="1.28.0"
HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/applications/mate-calc/"
DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/mate-calc-1.28.0.tar.xz"
MD5SUM="3492897f5c92b556df8ee9715db6db48"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
mate-calc: mate-calc (calculator for the MATE desktop)
mate-calc:
mate-calc: mate-calc is a fork of gnome-calc, a calculator application for
mate-calc: the MATE desktop.
mate-calc: MATE Calculator started as a fork of gnome-calc, the calculator
mate-calc: application that was previously in the OpenWindows Deskset of the
mate-calc: Solaris 8 operating system.
mate-calc: It supports scientific, financial and logical modes.
mate-calc:
mate-calc:
mate-calc:
mate-calc:
mate-calc: Homepage: https://www.mate-desktop.org
mate-calc: https://wiki.mate-desktop.org/mate-desktop/applications/mate-calc/
mate-calc:

View file

@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0