academic/qalculate-gtk: Updated for version 3.22.0; new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Gene Carlson 2024-09-04 08:34:28 +09:00 committed by Willy Sudiarto Raharjo
parent 9c9b8f8faf
commit ecd827cabd
5 changed files with 32 additions and 14 deletions

View file

@ -1 +1,10 @@
GTK interface to libqalculate. qalculate-gtk (GTK interface to libqalculate)
Qalculate! is a multi-purpose cross-platform desktop calculator. It is
simple to use but provides power and versatility normally reserved for
complicated math packages, as well as useful tools for everyday needs
(such as currency conversion and percent calculation). Features include
a large library of customizable functions, unit calculations and
conversion, symbolic calculations (including integers and equations),
arbitrary precision, uncertainty propagation, interval arithmetic,
plotting and a user-friendly interface.

View file

@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -2,7 +2,8 @@
# Slackware build script for qalculate-gtk # Slackware build script for qalculate-gtk
# Copyright 2016-2020 Larry Hajali <larryhaja[at]gmail[dot]com> # Copyright 2016-2020 Larry Hajali <email redacted>
# Copyright 2024 K. Eugene Carlson Tsukuba, Japan
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qalculate-gtk PRGNAM=qalculate-gtk
VERSION=${VERSION:-3.10.0} VERSION=${VERSION:-3.22.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -79,14 +80,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -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 {} \;
OSNAME="$(awk -F= '/^ID=/{print $2}' /etc/os-release)"
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \ --mandir=/usr/man \
--libdir=/usr/lib$LIBDIRSUFFIX \
--disable-silent-rules \ --disable-silent-rules \
--build=$ARCH-slackware-linux --build=$ARCH-$OSNAME-linux
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
@ -96,8 +100,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="qalculate-gtk" PRGNAM="qalculate-gtk"
VERSION="3.10.0" VERSION="3.22.0"
HOMEPAGE="https://qalculate.github.io/" HOMEPAGE="https://qalculate.github.io/"
DOWNLOAD="https://github.com/Qalculate/qalculate-gtk/releases/download/v3.10.0/qalculate-gtk-3.10.0.tar.gz" DOWNLOAD="https://github.com/Qalculate/qalculate-gtk/releases/download/v3.22.0/qalculate-gtk-3.22.0.tar.gz"
MD5SUM="5880b40c4a5beb9da290b28a54eb4f46" MD5SUM="856b04752c5f7157797c4548d5ad73ef"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Larry Hajali" MAINTAINER="K. Eugene Carlson"
EMAIL="larryhaja[at]gmail[dot]com" EMAIL="kvngncrlsn@gmail.com"

View file

@ -6,11 +6,11 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
qalculate-gtk: qalculate-gtk (GUI for libqalculate) qalculate-gtk: qalculate-gtk (GTK interface to libqalculate)
qalculate-gtk: qalculate-gtk:
qalculate-gtk: GTK interface to libqalculate. qalculate-gtk: Qalculate! is a multi-purpose cross-platform desktop calculator.
qalculate-gtk: qalculate-gtk:
qalculate-gtk: Homepage: http://qalculate.github.io/ qalculate-gtk: Homepage: https://qalculate.github.io/
qalculate-gtk: qalculate-gtk:
qalculate-gtk: qalculate-gtk:
qalculate-gtk: qalculate-gtk: