void-packages/srcpkgs/timeshift/template
2021-05-09 17:33:17 -03:00

20 lines
771 B
Bash

# Template file for 'timeshift'
pkgname=timeshift
version=20.11.1
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"
depends="rsync psmisc"
short_desc="System restore tool"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://teejeetech.com/timeshift/"
distfiles="https://github.com/teejee2008/timeshift/archive/v${version}.tar.gz"
checksum=c6dcca80b42f80a8c8d9d03e91eb17aa634be2f1031f667bba3f483410297abb
# 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
}