From df8b5589d4190ff050d8dbbb13b674ca64fd01fd Mon Sep 17 00:00:00 2001 From: Alan Barros de Oliveira Date: Tue, 7 Feb 2023 01:35:12 -0300 Subject: [PATCH] timeshift: update to 22.11.2 --- srcpkgs/timeshift/template | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/srcpkgs/timeshift/template b/srcpkgs/timeshift/template index 7700d6425ce3..151eb90fa48e 100644 --- a/srcpkgs/timeshift/template +++ b/srcpkgs/timeshift/template @@ -1,6 +1,6 @@ # Template file for 'timeshift' pkgname=timeshift -version=22.06.1 +version=22.11.2 revision=1 build_style=gnu-makefile hostmakedepends="gettext pkg-config vala which" @@ -8,13 +8,20 @@ makedepends="libgee08-devel json-glib-devel gtk+3-devel vte3-devel libgireposito depends="rsync psmisc" short_desc="System restore tool" maintainer="Orphaned " -license="GPL-3.0-or-later" -homepage="https://teejeetech.com/timeshift/" -distfiles="https://github.com/teejee2008/timeshift/archive/v${version}.tar.gz" -checksum=aef3980c19dfde9084b47b4e04e5106489ee7ddf44e6228415d2521405a091ec +license="GPL-3.0-only" +homepage="https://github.com/linuxmint/timeshift" +changelog="https://raw.githubusercontent.com/linuxmint/timeshift/master/debian/changelog" +distfiles="https://github.com/linuxmint/timeshift/archive/${version}/timeshift-${version}.tar.gz" +checksum=36fd19865d1d30dc5f6eca468ceaa3dad01cd95d9090d050d67f5c2cd98fe37d # Remove hard-dep on crontab, leave up to user to decide post_extract() { sed -i '/dependencies/s:"crontab",::' src/Core/Main.vala sed -i 's:--thread:& Core/AppExcludeEntry.vala:' src/makefile } + +# timeshift.1.gz is not a gzip file. +pre_install() { + mv man/timeshift.1.gz man/timeshift.1 + gzip man/timeshift.1 +}