--- haskell-hstringtemplate-0.6.2.orig/debian/rules
+++ haskell-hstringtemplate-0.6.2/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/hlibrary.mk
--- haskell-hstringtemplate-0.6.2.orig/debian/libghc6-hstringtemplate-doc.doc-base
+++ haskell-hstringtemplate-0.6.2/debian/libghc6-hstringtemplate-doc.doc-base
@@ -0,0 +1,10 @@
+Document: haskell-hstringtemplate-api
+Title: Documentation for the haskell HStringTemplate library
+Author: Sterling Clover
+Abstract: HStringTemplate is a Haskell template engine, mainly inspired
+ to the Java library StringTemplate.
+Section: Programming/Haskell
+
+Format: HTML
+Index: /usr/share/doc/libghc6-hstringtemplate-doc/html/index.html
+Files: /usr/share/doc/libghc6-hstringtemplate-doc/html/*.html
--- haskell-hstringtemplate-0.6.2.orig/debian/watch
+++ haskell-hstringtemplate-0.6.2/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\
+filenamemangle=s|(.*)/$|HStringTemplate-$1.tar.gz|" \
+    http://hackage.haskell.org/packages/archive/HStringTemplate \
+    ([\d\.]*\d)/
--- haskell-hstringtemplate-0.6.2.orig/debian/control
+++ haskell-hstringtemplate-0.6.2/debian/control
@@ -0,0 +1,89 @@
+Source: haskell-hstringtemplate
+Priority: extra
+Section: haskell
+Maintainer: Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
+Uploaders: Giovanni Mascellani <mascellani@poisson.phc.unipi.it>
+Build-Depends:
+ debhelper (>= 7),
+ haskell-devscripts (>= 0.7),
+ cdbs,
+ ghc6,
+ ghc6-prof,
+ ghc6-doc,
+ libghc6-text-dev,
+ libghc6-text-prof,
+ libghc6-text-doc,
+ libghc6-mtl-dev,
+ libghc6-mtl-prof,
+ libghc6-mtl-doc,
+ libghc6-parallel-dev,
+ libghc6-parallel-prof,
+ libghc6-parallel-doc,
+ libghc6-parsec2-dev,
+ libghc6-parsec2-prof,
+ libghc6-parsec2-doc
+Standards-Version: 3.8.4
+Homepage: http://hackage.haskell.org/package/hstringtemplate
+Vcs-Darcs: http://darcs.debian.org/darcs/pkg-haskell/haskell-hstringtemplate
+Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/haskell-hstringtemplate
+
+Package: libghc6-hstringtemplate-dev
+Architecture: any
+Depends:
+ ${haskell:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: ${haskell:Suggests}
+Recommends: ${haskell:Recommends}
+Provides: ${haskell:Provides}
+Description: Haskell port of the Java library StringTemplate - GHC 6 libraries
+ This is a Haskell template engine. Its API is mainly inspired to that of
+ the Java library StringTemplate, but it is implemented in a "Haskellish"
+ manner.
+ .
+ It implements the basic 3.1 grammar, lacking group files (though not
+ groups themselves), Regions, and Interfaces and extends it by allowing
+ the application of alternating attributes to anonymous as well as
+ regular templates, including therefore sets of alternating attributes.
+ .
+ This package contains the libraries compiled for GHC 6.
+
+Package: libghc6-hstringtemplate-prof
+Architecture: any
+Depends:
+ ${haskell:Depends},
+ ${misc:Depends}
+Suggests: ${haskell:Suggests}
+Recommends: ${haskell:Recommends}
+Provides: ${haskell:Provides}
+Description: Haskell port of the Java library StringTemplate - GHC 6 profiling libraries
+ This is a Haskell template engine. Its API is mainly inspired to that of
+ the Java library StringTemplate, but it is implemented in a "Haskellish"
+ manner.
+ .
+ It implements the basic 3.1 grammar, lacking group files (though not
+ groups themselves), Regions, and Interfaces and extends it by allowing
+ the application of alternating attributes to anonymous as well as
+ regular templates, including therefore sets of alternating attributes.
+ .
+ This package contains the profiling libraries compiled for GHC 6.
+
+Package: libghc6-hstringtemplate-doc
+Section: doc
+Architecture: all
+Depends:
+ ${haskell:Depends},
+ ${misc:Depends}
+Suggests: ${haskell:Suggests}
+Recommends: ${haskell:Recommends}
+Description: Haskell port of the Java library StringTemplate - documentation
+ This is a Haskell template engine. Its API is mainly inspired to that of
+ the Java library StringTemplate, but it is implemented in a "Haskellish"
+ manner.
+ .
+ It implements the basic 3.1 grammar, lacking group files (though not
+ groups themselves), Regions, and Interfaces and extends it by allowing
+ the application of alternating attributes to anonymous as well as
+ regular templates, including therefore sets of alternating attributes.
+ .
+ This package contains the library documentation.
--- haskell-hstringtemplate-0.6.2.orig/debian/copyright
+++ haskell-hstringtemplate-0.6.2/debian/copyright
@@ -0,0 +1,41 @@
+Format-Specification: http://dep.debian.net/deps/dep5
+Name: Haskell port of the Java library StringTemplate
+Maintainer: Sterling Clover
+Source: http://hackage.haskell.org/package/hstringtemplate
+
+Files: *
+Copyright: © 2009 Sterling Clover <s.clover@gmail.com>
+License: BSD
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the author nor the names of his contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+Files: debian/*
+Copyright: © 2009 Giovanni Mascellani <mascellani@poisson.phc.unipi.it>
+License: GPL-3+
+ The Debian packaging information is under the GPL, version 3 or later.  On
+ Debian GNU/Linux systems, the complete text of the GNU General Public License
+ Version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
--- haskell-hstringtemplate-0.6.2.orig/debian/compat
+++ haskell-hstringtemplate-0.6.2/debian/compat
@@ -0,0 +1 @@
+7
\ No newline at end of file
--- haskell-hstringtemplate-0.6.2.orig/debian/changelog
+++ haskell-hstringtemplate-0.6.2/debian/changelog
@@ -0,0 +1,27 @@
+haskell-hstringtemplate (0.6.2-2) unstable; urgency=low
+
+  [ Marco Túlio Gontijo e Silva ]
+  * debian/watch: Use format that works for --download-current-version.
+  * debian/watch: Add .tar.gz to downloaded filename.
+  * debian/watch: Include package name in downloaded .tar.gz.
+  * debian/watch: Remove spaces, since they're not allowed by uscan.
+  * debian/control: Add field Provides: ${haskell:Provides} to -dev and
+    -prof packages.
+  * debian/control: Remove dependency in hscolour, since it's now a
+    dependency of haskell-devscripts.
+  * debian/control: Remove haddock from Build-Depends:, since it's now a
+    Depends: of haskell-devscripts.
+  * debian/control: Bump Standards-Version: to 3.8.4, no changes needed.
+  * debian/control: Remove uneeded Build-Depends: in libghc6-utf8-
+    string-* and libghc6-time-*.
+
+  [ Joachim Breitner ]
+  * Bump haskell-devscripts dependency to 0.7
+
+ -- Joachim Breitner <nomeata@debian.org>  Sat, 20 Feb 2010 17:44:40 +0100
+
+haskell-hstringtemplate (0.6.2-1) unstable; urgency=low
+
+  * Initial release. (closes: #562258)
+
+ -- Giovanni Mascellani <mascellani@poisson.phc.unipi.it>  Sun, 27 Dec 2009 17:03:45 +0100
