void-packages/srcpkgs/timeshift/template
2021-10-14 14:18:30 -05:00

21 lines
764 B
Bash

# Template file for 'timeshift'
pkgname=timeshift
version=21.09.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="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=70b21355439c284860264f746b980f11614c8e8307106d37f8fbee98377c455d
# 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
}