void-packages/srcpkgs/timeshift/template

27 lines
940 B
Bash

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