--- /dev/null
+patat (0.3.3.0-1) unstable; urgency=medium
+
+ * Initial release (Closes: #840738)
+
+ -- Félix Sipma <felix+debian@gueux.org> Mon, 31 Oct 2016 13:28:53 +0100
--- /dev/null
+Source: patat
+Maintainer: Félix Sipma <felix+debian@gueux.org>
+Priority: extra
+Section: haskell
+Build-Depends: debhelper (>= 10),
+ ghc,
+ libghc-aeson-dev (>= 0.9),
+ libghc-aeson-dev (<< 1.1),
+ libghc-ansi-terminal-dev (>= 0.6),
+ libghc-ansi-terminal-dev (<< 0.7),
+ libghc-ansi-wl-pprint-dev (>= 0.6),
+ libghc-ansi-wl-pprint-dev (<< 0.7),
+ libghc-highlighting-kate-dev (>= 0.6),
+ libghc-highlighting-kate-dev (<< 0.7),
+ libghc-mtl-dev (>= 2.2),
+ libghc-mtl-dev (<< 2.3),
+ libghc-optparse-applicative-dev (>= 0.12),
+ libghc-optparse-applicative-dev (<< 0.14),
+ libghc-pandoc-dev (>= 1.16),
+ libghc-pandoc-dev (<< 1.19),
+ libghc-terminal-size-dev (>= 0.3),
+ libghc-terminal-size-dev (<< 0.4),
+ libghc-text-dev (>= 1.2),
+ libghc-text-dev (<< 1.3),
+ libghc-yaml-dev (>= 0.7),
+ libghc-yaml-dev (<< 0.9),
+ pandoc
+Standards-Version: 3.9.8
+Homepage: http://github.com/jaspervdj/patat
+Vcs-Git: https://git.gueux.org/patat.git
+Vcs-Browser: https://git.gueux.org/?p=patat.git;a=summary
+
+Package: patat
+Architecture: any
+Section: misc
+Depends: ${shlibs:Depends}, ${haskell:Depends}, ${misc:Depends}
+Description: Terminal-based presentations using Pandoc
+ patat (*P*resentations *A*top *T*he *A*NSI *T*erminal) is a small tool that
+ allows you to show presentations using only an ANSI terminal. It does not
+ require `ncurses`.
--- /dev/null
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: patat
+Upstream-Contact: Jasper Van der Jeugt <m@jaspervdj.be>
+Source: https://hackage.haskell.org/package/patat
+
+Files: *
+Copyright: 2016 Jasper Van der Jeugt <m@jaspervdj.be>
+License: GPL-2
+
+Files: debian/*
+Copyright: 2016 Félix Sipma <felix+debian@gueux.org>
+License: GPL-2
+
+License: GPL-2
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2 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 package; 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'.
--- /dev/null
+# standard override for Haskell binary packages
+binary-or-shlib-defines-rpath
--- /dev/null
+extra/screenshot.png
--- /dev/null
+dist/build/patat/patat usr/bin
--- /dev/null
+debian/patat.1
--- /dev/null
+% patat(1)
+% [Jasper Van der Jeugt](mailto:m@jaspervdj.be)
+% October 2016
+
+Name
+====
+
+patat - Terminal-based presentations using Pandoc
+
+Synopsis
+========
+
+`patat` [*OPTION* ...] [*FILENAME*]
+
+Description
+===========
+
+`patat` (**P**resentations **A**top **T**he **A**NSI **T**erminal) is a small
+tool that allows you to show presentations using only an ANSI terminal. It
+does not require `ncurses`.
+
+Options
+=======
+
+`-h`,`--help`
+
+: Show this help text
+
+`FILENAME`
+
+: Input file
+
+`-f`,`--force`
+
+: Force ANSI terminal
+
+`-d`,`--dump`
+
+: Just dump all slides and exit
+
+`-w`,`--watch`
+
+: Watch file for changes
+
+`--version`
+
+: Display version info and exit
+
--- /dev/null
+From: =?utf-8?q?F=C3=A9lix_Sipma?= <felix.sipma@no-log.org>
+Date: Thu, 20 Oct 2016 15:09:42 +0200
+Subject: Debianize README.md
+
+- remove installation instructions and CI links
+- modify link to screenshot file
+
+Forwarded: not-needed
+---
+ README.md | 36 +-----------------------------------
+ 1 file changed, 1 insertion(+), 35 deletions(-)
+
+diff --git a/README.md b/README.md
+index 3cd2820..3dfcdf6 100644
+--- a/README.md
++++ b/README.md
+@@ -1,8 +1,6 @@
+ patat
+ =====
+
+-[](https://travis-ci.org/jaspervdj/patat) [](https://hackage.haskell.org/package/patat) []()
+-
+ `patat` (**P**resentations **A**top **T**he **A**NSI **T**erminal) is a small
+ tool that allows you to show presentations using only an ANSI terminal. It does
+ not require `ncurses`.
+@@ -20,7 +18,7 @@ Features:
+ syntax files.
+ - Written in [Haskell].
+
+-
++
+
+ [Kate]: https://kate-editor.org/
+ [Haskell]: http://haskell.org/
+@@ -29,9 +27,6 @@ Features:
+ Table of Contents
+ -----------------
+
+-- [Installation](#installation)
+- - [Using stack](#using-stack)
+- - [Using cabal](#using-cabal)
+ - [Running](#running)
+ - [Input format](#input-format)
+ - [Configuration](#configuration)
+@@ -39,35 +34,6 @@ Table of Contents
+ - [Syntax Highlighting](#syntax-highlighting)
+ - [Trivia](#trivia)
+
+-Installation
+-------------
+-
+-You can build from source using `stack install` or `cabal install`. `patat` is
+-also available from [Hackage].
+-
+-[Hackage]: https://hackage.haskell.org/package/patat
+-
+-For people unfamiliar with the Haskell ecosystem, this means you can do either
+-of the following:
+-
+-### Using stack
+-
+-1. Install [stack] for your platform.
+-2. Clone this repository.
+-3. Run `stack setup` (if you're running stack for the first time) and
+- `stack install`.
+-4. Make sure `$HOME/.local/bin` is in your `$PATH`.
+-
+-[stack]: https://docs.haskellstack.org/en/stable/README/
+-
+-### Using cabal
+-
+-1. Install [cabal] for your platform.
+-2. Run `cabal install patat`.
+-3. Make sure `$HOME/.cabal/bin` is in your `$PATH`.
+-
+-[cabal]: https://www.haskell.org/cabal/
+-
+ Running
+ -------
+
--- /dev/null
+0001-Debianize-README.md.patch
--- /dev/null
+#!/usr/bin/make -f
+
+# these rules originally written by Joey Hess for hothasktags package
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ ghc --make Setup
+ ./Setup configure
+
+override_dh_auto_build:
+ pandoc -sS debian/patat.md -o debian/patat.1
+ ./Setup build
+
+override_dh_auto_clean:
+ if [ -x Setup ]; then ./Setup clean; fi
+ rm -f Setup Setup.o Setup.hi debian/patat.1
+
+override_dh_auto_test:
+ PATH="$(PATH):dist/build/patat/" bash test.sh
+
+override_dh_strip:
+ # GHC cannot produce debugging symbols so the -dbgsym package
+ # ends up empty, so disable generating it
+ dh_strip --no-automatic-dbgsym
--- /dev/null
+3.0 (quilt)
--- /dev/null
+version=3
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/patat-$1\.tar\.gz/ \
+ https://github.com/jaspervdj/patat/tags .*/v?(\d\S*)\.tar\.gz