graphics/maim: Updated for version 5.8.0.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
isaackwy 2024-04-11 14:09:35 -07:00 committed by Willy Sudiarto Raharjo
parent 750d6fe55d
commit 9f7617c280
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 5 additions and 23 deletions

View file

@ -3,7 +3,7 @@
# Slackware build script for maim
# Copyright 2019 klorophatu <klorophatu@krutt.org>
# Copyright 2022 Isaac Yu <isaacyu@protonmail.com>
# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=maim
VERSION=${VERSION:-5.7.4}
VERSION=${VERSION:-5.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -42,9 +42,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
@ -54,23 +51,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP

View file

@ -1,8 +1,8 @@
PRGNAM="maim"
VERSION="5.7.4"
VERSION="5.8.0"
HOMEPAGE="https://github.com/naelstrof/maim"
DOWNLOAD="https://github.com/naelstrof/maim/archive/v5.7.4/maim-5.7.4.tar.gz"
MD5SUM="3e0a19cc4d21414c38aed8e0122ab119"
DOWNLOAD="https://github.com/naelstrof/maim/archive/v5.8.0/maim-5.8.0.tar.gz"
MD5SUM="4364b51a607fdaa6c2eeaa9d87f84727"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="slop"