games/aisleriot: Updated for version 3.22.34.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2024-11-14 21:46:07 +07:00 committed by Willy Sudiarto Raharjo
parent 6250e03fd1
commit 8066765198
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for aisleriot
# Copyright 2020 - 2022 Johannes Schoepfer, Germany
# Copyright 2020-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=aisleriot
VERSION=${VERSION:-3.22.24}
VERSION=${VERSION:-3.22.34}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -72,11 +72,12 @@ 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 {} +
#-Dsound=false \
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages
mkdir build
cd build
@ -92,7 +93,7 @@ cd build
--sysconfdir=/etc \
-Dtheme_kde=false \
-Dtheme_pysol=true \
-Dtheme_pysol_path=/usr/lib64/python3.9/site-packages/pysol_cards/ \
-Dtheme_pysol_path=/usr/lib$LIBDIRSUFFIX/python$PYVER/site-packages/pysol_cards/ \
-Dstrip=true
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
@ -101,7 +102,7 @@ cd ..
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,10 +1,10 @@
PRGNAM="aisleriot"
VERSION="3.22.24"
VERSION="3.22.34"
HOMEPAGE="https://wiki.gnome.org/Apps/Aisleriot"
DOWNLOAD="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/3.22.24/aisleriot-3.22.24.tar.gz"
MD5SUM="ca2cb016eddaf3f7afe8b534f299ea2f"
DOWNLOAD="https://gitlab.gnome.org/GNOME/aisleriot/-/archive/3.22.34/aisleriot-3.22.34.tar.gz"
MD5SUM="dcf5bdadb000304cbde565c739e1dfa0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
REQUIRES="python3-meson-opt"
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds@schoepfer.info"