diff options
author | Antonio Leal <antonioleal@yahoo.com> | 2023-08-09 12:42:55 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-08-12 08:29:38 +0700 |
commit | c742fc372ec5780013998666d7c15dc87b9e6823 (patch) | |
tree | b6ec1489adea4548690a3b3dae1e4aaea8073bbb /system/timeshift/timeshift.SlackBuild | |
parent | c7db3b6c199c711232e02f38f11df6b5e1123063 (diff) |
system/timeshift: Updated for version 23.07.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/timeshift/timeshift.SlackBuild')
-rw-r--r-- | system/timeshift/timeshift.SlackBuild | 27 |
1 files changed, 17 insertions, 10 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 |