aboutsummaryrefslogtreecommitdiff
path: root/system/timeshift
diff options
context:
space:
mode:
authorAntonio Leal <antonioleal@yahoo.com>2023-08-09 12:42:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-12 08:29:38 +0700
commitc742fc372ec5780013998666d7c15dc87b9e6823 (patch)
treeb6ec1489adea4548690a3b3dae1e4aaea8073bbb /system/timeshift
parentc7db3b6c199c711232e02f38f11df6b5e1123063 (diff)
system/timeshift: Updated for version 23.07.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/timeshift')
-rw-r--r--system/timeshift/timeshift.SlackBuild27
-rw-r--r--system/timeshift/timeshift.info8
2 files changed, 21 insertions, 14 deletions
diff --git a/system/timeshift/timeshift.SlackBuild b/system/timeshift/timeshift.SlackBuild
index ec8793f086064..d2336a4d2baf9 100644
--- a/system/timeshift/timeshift.SlackBuild
+++ b/system/timeshift/timeshift.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=timeshift
-VERSION=${VERSION:-22.11.2}
+VERSION=${VERSION:-23.07.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,20 +76,27 @@ 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 {} \;
-make
-make install DESTDIR=$PKG
-# sbopkglint corrections:
-rm -rf $PKG/usr/share/man
-mkdir -p $PKG/usr/man/man1
-cp $CWD/timeshift.1.gz $PKG/usr/man/man1
-chmod -x $PKG/usr/share/pixmaps/*
-chmod -x $PKG/usr/share/applications/*
-patch $PKG/usr/share/applications/timeshift-gtk.desktop $CWD/timeshift-gtk.desktop.patch
+# do not support xapp at this time
+cp $CWD/meson_options.txt .
+
+meson build --prefix=/usr
+cd build
+meson compile
+DESTDIR=$PKG meson install
+cd ..
+
+# slackware friendly launcher requiring gksu
+cp $CWD/timeshift-launcher $PKG/usr/bin/
+
+mv $PKG/usr/share/man $PKG/usr/
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 {} \;
+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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/timeshift/timeshift.info b/system/timeshift/timeshift.info
index 6831ac62ba085..8d4ed4a28573c 100644
--- a/system/timeshift/timeshift.info
+++ b/system/timeshift/timeshift.info
@@ -1,10 +1,10 @@
PRGNAM="timeshift"
-VERSION="22.11.2"
+VERSION="23.07.1"
HOMEPAGE="https://github.com/linuxmint/timeshift"
-DOWNLOAD="https://github.com/linuxmint/timeshift/archive/22.11.2/timeshift-22.11.2.tar.gz"
-MD5SUM="45f18d45893fcb0cefd22b5b067dbc89"
+DOWNLOAD="https://github.com/linuxmint/timeshift/archive/23.07.1/timeshift-23.07.1.tar.gz"
+MD5SUM="da4a044deb88d4689eadc1e448bc9280"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="gksu"
MAINTAINER="Antonio Leal"
EMAIL="antonioleal@yahoo.com"