void-packages/srcpkgs/timeshift/template
2020-01-27 18:07:11 +01:00

25 lines
878 B
Bash

# Template file for 'timeshift'
pkgname=timeshift
version=19.08.1
revision=1
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"
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=ab56331f97c1616b889e69adccedeca06f0150e964eea631b52c9bd399f77604
# 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
}
post_install() {
rm "${DESTDIR}/usr/bin/timeshift-uninstall"
}