timeshift: update to 22.11.2

This commit is contained in:
Alan Barros de Oliveira 2023-02-07 01:35:12 -03:00 committed by classabbyamp
parent c249ed22a9
commit f5d5fbef40
1 changed files with 14 additions and 8 deletions

View File

@ -1,20 +1,26 @@
# 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"
makedepends="libgee08-devel json-glib-devel gtk+3-devel vte3-devel libgirepository-devel"
makedepends="libgee-devel json-glib-devel gtk+3-devel vte3-devel libgirepository-devel"
depends="rsync psmisc"
short_desc="System restore tool"
maintainer="Orphaned <orphan@voidlinux.org>"
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
vsed -i src/Core/Main.vala -e '/dependencies/s:"crontab",::'
}
# timeshift.1.gz is not a gzip file.
pre_install() {
mv man/timeshift.1.gz man/timeshift.1
gzip man/timeshift.1
}