New package: timeshift-18.4

Closes https://github.com/voidlinux/void-packages/issues/14846
This commit is contained in:
Andrew Benson 2018-06-01 16:37:22 -05:00 committed by maxice8
parent 39a72f9e4b
commit af2895df63
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- src/Utility/Gtk/TerminalWindow.vala.orig
+++ src/Utility/Gtk/TerminalWindow.vala
@@ -166,7 +166,7 @@
}
public void execute_command(string command){
- term.feed_child("%s\n".printf(command), -1);
+ term.feed_child("%s\n".printf(command).to_utf8());
}
public void execute_script(string script_path, bool wait = false){

View file

@ -0,0 +1,19 @@
# Template file for 'timeshift'
pkgname=timeshift
version=18.4
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config vala"
makedepends="libgee08-devel json-glib-devel gtk+3-devel vte3-devel libgirepository-devel"
depends="rsync"
conf_files="/etc/default/timeshift.json"
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=5f180ba2ed66531b10e6cc9b1966e60be1c646ebe304dd0a29b4215318892feb
post_install() {
rm "${DESTDIR}/usr/bin/timeshift-uninstall"
}