26 lines
864 B
Bash
26 lines
864 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="pkg-config vala"
|
|
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"
|
|
}
|