--- tilde-1.1.3.orig/debian/changelog
+++ tilde-1.1.3/debian/changelog
@@ -0,0 +1,5 @@
+tilde (1.1.3-1) unstable; urgency=low
+
+  * 
+
+ -- Gertjan Halkes <tilde@ghalkes.nl>  Sat, 29 Jan 2022 18:46:27 +0100
--- tilde-1.1.3.orig/debian/compat
+++ tilde-1.1.3/debian/compat
@@ -0,0 +1 @@
+9
--- tilde-1.1.3.orig/debian/control
+++ tilde-1.1.3/debian/control
@@ -0,0 +1,19 @@
+Source: tilde
+Maintainer: Gertjan Halkes <debian@ghalkes.nl>
+Section: editors
+Priority: optional
+Build-Depends: debhelper (>= 9), gettext, pkg-config, libt3widget-dev (>= 1.2.0),
+ libtranscript-dev (>= 0.2.0), libunistring-dev, libt3config-dev (>= 1.0.0), libt3highlight-dev (>= 0.4.0),
+ libattr1-dev, libacl1-dev
+Standards-Version: 4.1.3
+Homepage: https://os.ghalkes.nl/tilde.html
+
+Package: tilde
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Intuitive text editor for the terminal
+ Tilde is a text editor for the console/terminal, which provides an intuitive
+ interface for people accustomed to GUI environments such as Gnome, KDE
+ and Windows. For example, the short-cut to copy the current selection is
+ Control-C, and to paste the previously copied text the short-cut Control-V can
+ be used. As another example, the File menu can be accessed by pressing Meta-F.
--- tilde-1.1.3.orig/debian/copyright
+++ tilde-1.1.3/debian/copyright
@@ -0,0 +1,24 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: tilde
+Upstream-Contact: Gertjan Halkes <tilde@ghalkes.nl>
+Source: https://os.ghalkes.nl/tilde.html
+
+Files: *
+Copyright: 2011-2017 Gertjan Halkes
+License: GPL-3
+
+License: GPL-3
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 3 as
+ published by the Free Software Foundation.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
--- tilde-1.1.3.orig/debian/postinst
+++ tilde-1.1.3/debian/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+update-alternatives --install /usr/bin/editor editor /usr/bin/tilde 50
+#DEBHELPER#
+exit 0
--- tilde-1.1.3.orig/debian/prerm
+++ tilde-1.1.3/debian/prerm
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+update-alternatives --remove editor /usr/bin/tilde
+#DEBHELPER#
+exit 0
--- tilde-1.1.3.orig/debian/rules
+++ tilde-1.1.3/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+export DH_ALWAYS_EXCLUDE=COPYING:Changelog.gz
+
+%:
+	dh $@
--- tilde-1.1.3.orig/debian/tilde.docs
+++ tilde-1.1.3/debian/tilde.docs
@@ -0,0 +1 @@
+README
