aboutsummaryrefslogtreecommitdiff
path: root/system/timeshift/timeshift.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/timeshift/timeshift.SlackBuild')
-rw-r--r--system/timeshift/timeshift.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/timeshift/timeshift.SlackBuild b/system/timeshift/timeshift.SlackBuild
index 9f25a0a6a2..04dc6a1c08 100644
--- a/system/timeshift/timeshift.SlackBuild
+++ b/system/timeshift/timeshift.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for timeshift
-# Copyright 2024 Antonio Leal, Porto Salvo, Oeiras, Portugal
+# Copyright 2024-2025 Antonio Leal, Porto Salvo, Oeiras, Portugal
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=timeshift
-VERSION=${VERSION:-24.06.6}
+VERSION=${VERSION:-25.07.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -50,16 +50,16 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
+# LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
+# LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+# LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
+# LIBDIRSUFFIX=""
fi
set -e
@@ -77,9 +77,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# do not support xapp at this time
-meson build --prefix=/usr -Dxapp=false
+CFLAGS="$SLKCFLAGS" meson build --prefix=/usr -Dxapp=false
cd build
-meson compile
+CFLAGS="$SLKCFLAGS" meson compile
DESTDIR=$PKG meson install
cd ..