diff options
Diffstat (limited to 'graphics/maim')
-rw-r--r-- | graphics/maim/maim.SlackBuild | 32 | ||||
-rw-r--r-- | graphics/maim/maim.info | 12 |
2 files changed, 15 insertions, 29 deletions
diff --git a/graphics/maim/maim.SlackBuild b/graphics/maim/maim.SlackBuild index efb8883830..161480adec 100644 --- a/graphics/maim/maim.SlackBuild +++ b/graphics/maim/maim.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for maim -# Copyright 2019 klorophatu +# Copyright 2019 klorophatu <klorophatu@krutt.org> +# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230126 bkw: Modified by SlackBuilds.org: +# - remove false imlib2 dependency from .info file. no script changes. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=maim -VERSION=${VERSION:-5.5.3} +VERSION=${VERSION:-5.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,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 @@ -50,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 @@ -80,7 +66,7 @@ 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 {} \; -cmake -DCMAKE_INSTALL_PREFIX="/usr/" ./ +cmake -DCMAKE_INSTALL_PREFIX="/usr/" -DCMAKE_INSTALL_MANDIR="/usr/man/" ./ make make install DESTDIR=$PKG @@ -88,8 +74,8 @@ 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/share/man -type f -exec gzip -9 {} \; -for i in $( find $PKG/usr/share/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done +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 COPYING README.md license.txt $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/graphics/maim/maim.info b/graphics/maim/maim.info index a4be07ed55..be9208b41d 100644 --- a/graphics/maim/maim.info +++ b/graphics/maim/maim.info @@ -1,10 +1,10 @@ PRGNAM="maim" -VERSION="5.5.3" +VERSION="5.8.0" HOMEPAGE="https://github.com/naelstrof/maim" -DOWNLOAD="https://github.com/naelstrof/maim/archive/v5.5.3/maim-5.5.3.tar.gz" -MD5SUM="ca877cdcf454f454076c6bf7a6d85890" +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="imlib2 slop" -MAINTAINER="klorophatu" -EMAIL="klorophatu@krutt.org" +REQUIRES="slop" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu@protonmail.com" |