27 lines
940 B
Bash
27 lines
940 B
Bash
# Template file for 'timeshift'
|
|
pkgname=timeshift
|
|
version=24.06.3
|
|
revision=1
|
|
build_style=meson
|
|
hostmakedepends="gettext pkg-config vala help2man"
|
|
makedepends="libgee-devel json-glib-devel vte3-devel libgirepository-devel
|
|
xapps-devel libxkbfile-devel"
|
|
depends="rsync psmisc xhost"
|
|
short_desc="System restore tool"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://github.com/linuxmint/timeshift"
|
|
changelog="https://raw.githubusercontent.com/linuxmint/timeshift/master/debian/changelog"
|
|
distfiles="https://github.com/linuxmint/timeshift/archive/${version}/timeshift-${version}.tar.gz"
|
|
checksum=d5151abba395ceb54d7b3383c52f30ed99ecb880d09c5a8c9f666dceef2015ca
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends=${hostmakedepends%help2man}
|
|
configure_args="-Dman=false"
|
|
fi
|
|
|
|
# Remove hard-dep on crontab, leave up to user to decide
|
|
post_extract() {
|
|
vsed -i src/Core/Main.vala -e '/dependencies/s:"crontab",::'
|
|
}
|