--- aoeui-1.4.orig/debian/compat
+++ aoeui-1.4/debian/compat
@@ -0,0 +1 @@
+5
--- aoeui-1.4.orig/debian/copyright
+++ aoeui-1.4/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Ryan Kavanagh <ryanakca@kubuntu.org> on
+Sun, 27 May 2007 10:15:51 -0400.
+
+It was downloaded from http://code.google.com/p/aoeui/downloads/list
+
+Upstream Author:
+ Peter Klausler <peter@klausler.com>
+
+Copyright:
+ Copyright (C) 2007--2009 by Peter Klausler <peter@klausler.com>
+
+License:
+
+ This program is free software; you can redistribute it and/or modify it under
+ the terms of version 2 only of the GNU General Public License as published
+ by the Free Software Foundation.
+
+ This program 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, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public License version 2
+can be found in `/usr/share/common-licenses/GPL-2'.
+
+The following files have different copyright notices:
+ ebuild: Copyright (C) by 1999-2007 Gentoo Foundation
+ Also distributed under the GNU General Public License version 2.
+ See above for details.
+
+The Debian packaging is Copyright (C) 2007-2008, Ryan Kavanagh
+<ryanakca@kubuntu.org> and is licensed under the GPL version 2. See above for
+details.
--- aoeui-1.4.orig/debian/changelog
+++ aoeui-1.4/debian/changelog
@@ -0,0 +1,61 @@
+aoeui (1.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Dropped 02_makefile.diff , no longer required.
+ * Refreshed 03_txt_files.diff
+ * Updated debian/copyright to include the year 2009, added the word
+ ``Copyright'' to (C) where it was lacking.
+ * Fixed watch file to remove the .tgz from version number
+
+ -- Ryan Kavanagh <ryanakca@kubuntu.org> Sat, 28 Feb 2009 22:47:53 -0500
+
+aoeui (1.3-1) unstable; urgency=low
+
+ * New upstream release
+ * Dropped 01_no_LO_in_manpages.diff since upstream applied it.
+ * Refreshed 03_txt_files.diff
+ * Updated watch file
+
+ -- Ryan Kavanagh <ryanakca@kubuntu.org> Tue, 16 Dec 2008 19:47:45 -0500
+
+aoeui (1.2-1) unstable; urgency=low
+
+ * New upstream release (Closes: #495202)
+ * Updated debian/watch since project moved to Google Code
+ * Updated debian/copyright with the new year and specified the license
+ version. Also included the license information for the ebuild file.
+ * Uncomment the ``LIBS = -lutils'' line as directed in the Makefile's
+ comments, 02_makefile.diff
+ * Upstream install aoeui.txt and notes.txt in /usr/share/aoeui/ ... We'd
+ rather install them in gzipped format under /usr/share/doc/aoeui. See
+ 03_txt_files.diff
+ * Now installing aoeui.html and LOG
+ * Changed from simple-patchsys to quilt.
+ * Added a README.source
+ * Updated long description
+ * Updated 01_no_LO_in_manpages.diff (upstream changed aoeui.1.m4)
+
+ -- Ryan Kavanagh <ryanakca@kubuntu.org> Sun, 23 Nov 2008 14:43:07 -0500
+
+aoeui (1.1.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Updated standards to 3.7.3
+ * Removed homepage link from description and put it in its appropriate field
+ * Remove ``.LO 1'' from aoeui.1.m4 since .LO is not recognized by man and
+ produces errors, 01_no_LO_in_manpages.diff
+
+ -- Ryan Kavanagh <ryanakca@kubuntu.org> Sun, 01 Jun 2008 15:58:32 -0400
+
+aoeui (1.1.0-2) unstable; urgency=low
+
+ * No longer FTBFS if build twice in a row (Closes: #442493)
+
+ -- Ryan Kavanagh <ryanakca@kubuntu.org> Sun, 28 Oct 2007 17:14:59 -0400
+
+aoeui (1.1.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #426963)
+
+ -- Ryan Kavanagh <ryanakca@kubuntu.org> Sun, 27 May 2007 10:15:51 -0400
+
--- aoeui-1.4.orig/debian/rules
+++ aoeui-1.4/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DEB_MAKE_INSTALL_TARGET := install INST_DIR=$(CURDIR)/debian/aoeui/usr
+DEB_MAKE_CLEAN_TARGET := clobber
+DEB_INSTALL_CHANGELOGS_ALL := LOG
+
+install/aoeui::
+ find debian -type f -name "*.txt" -exec chmod 644 {} \;
--- aoeui-1.4.orig/debian/README.source
+++ aoeui-1.4/debian/README.source
@@ -0,0 +1,8 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build. Please see:
+
+ /usr/share/doc/quilt/README.source
+
+for more information on how to apply the patches, modify patches, or
+remove a patch.
--- aoeui-1.4.orig/debian/docs
+++ aoeui-1.4/debian/docs
@@ -0,0 +1,4 @@
+aoeui.txt
+aoeui.html
+notes.txt
+README
--- aoeui-1.4.orig/debian/watch
+++ aoeui-1.4/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+http://code.google.com/p/aoeui/downloads/list \
+ http://aoeui.googlecode.com/files/aoeui-([0-9.]+)\.tgz
--- aoeui-1.4.orig/debian/control
+++ aoeui-1.4/debian/control
@@ -0,0 +1,18 @@
+Source: aoeui
+Section: editors
+Priority: optional
+Maintainer: Ryan Kavanagh <ryanakca@kubuntu.org>
+Build-Depends: cdbs, debhelper (>= 5), exuberant-ctags, m4, quilt
+Standards-Version: 3.8.0
+Homepage: http://code.google.com/p/aoeui/
+
+Package: aoeui
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: lightweight, unobtrusive, Dvorak-optimized text editor
+ A very small and efficient display editor built upon a philosophy of making
+ interaction with UNIX text manipulation commands easy, rather than duplicating
+ their features. Its command set is optimized for the Dvorak and QWERTY
+ keyboard layouts.
+ .
+ Also includes asdfg, aoeui's QWERTY variant.
--- aoeui-1.4.orig/debian/patches/03_txt_files.diff
+++ aoeui-1.4/debian/patches/03_txt_files.diff
@@ -0,0 +1,18 @@
+## 03_text_files.diff by Ryan Kavanagh <ryanakca@kubuntu.org>
+## Description: We'd rather install *txt gzipped under /usr/share/doc/aoeui
+Index: aoeui-1.4/Makefile
+===================================================================
+--- aoeui-1.4.orig/Makefile 2009-02-15 10:26:39.000000000 -0500
++++ aoeui-1.4/Makefile 2009-02-16 13:08:45.000000000 -0500
+@@ -56,11 +56,9 @@
+
+ install: aoeui aoeui.1.gz asdfg.1.gz
+ install -d $(INST_DIR)/bin
+- install -d $(INST_DIR)/share/aoeui
+ install -d $(INST_DIR)/share/man/man1
+ install aoeui $(INST_DIR)/bin
+ ln -nf $(INST_DIR)/bin/aoeui $(INST_DIR)/bin/asdfg
+- install *.txt $(INST_DIR)/share/aoeui
+ install *.1.gz $(INST_DIR)/share/man/man1
+ clean:
+ rm -f *.o *.help libs core gmon.out screenlog.*
--- aoeui-1.4.orig/debian/patches/series
+++ aoeui-1.4/debian/patches/series
@@ -0,0 +1 @@
+03_txt_files.diff