void-packages/srcpkgs/timeshift/template

27 lines
940 B
Bash

# Template file for 'timeshift'
pkgname=timeshift
version=24.06.1
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=585c28492388063de6a20eeb40001548daf042f4a7d0740be7d81d8bbdc00e84
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",::'
}