void-packages/srcpkgs/timeshift/template

22 lines
818 B
Bash

# Template file for 'timeshift'
pkgname=timeshift
version=20.03
revision=2
build_style=gnu-makefile
conf_files="/etc/default/timeshift.json"
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="http://www.teejeetech.in/p/timeshift.html"
distfiles="https://github.com/teejee2008/timeshift/archive/v${version}.tar.gz"
checksum=6516150481fc3e69c090ff25426e85d99d10035949446368918076b19335b391
# 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
}