summaryrefslogtreecommitdiff
path: root/~fauno
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-09-26 16:47:44 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-09-26 16:47:44 -0300
commit9146699991b6ea418605a56676ac6ebfb4fac030 (patch)
tree0ec75dd4a68588259426a5f85b41733de0e0f1a1 /~fauno
parent0d9c46d20a30e5420d558910aa18c2eb8b5cc938 (diff)
~fauno/pandoc-1.8.2.1-2
And haskell makedeps
Diffstat (limited to '~fauno')
-rw-r--r--~fauno/bibutils-dynamic/PKGBUILD30
-rw-r--r--~fauno/haskell-base64-bytestring/PKGBUILD45
-rw-r--r--~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install26
-rw-r--r--~fauno/haskell-citeproc-hs/PKGBUILD60
-rw-r--r--~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install26
-rw-r--r--~fauno/haskell-digest/PKGBUILD46
-rw-r--r--~fauno/haskell-digest/haskell-digest.install26
-rw-r--r--~fauno/haskell-dlist/PKGBUILD43
-rw-r--r--~fauno/haskell-dlist/haskell-dlist.install26
-rw-r--r--~fauno/haskell-hs-bibutils/PKGBUILD48
-rw-r--r--~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install18
-rw-r--r--~fauno/haskell-json/PKGBUILD51
-rw-r--r--~fauno/haskell-json/haskell-json.install26
-rw-r--r--~fauno/haskell-pandoc-types/PKGBUILD46
-rw-r--r--~fauno/haskell-pandoc-types/haskell-pandoc-types.install26
-rw-r--r--~fauno/haskell-tagsoup/PKGBUILD47
-rw-r--r--~fauno/haskell-tagsoup/haskell-tagsoup.install26
-rw-r--r--~fauno/haskell-texmath/PKGBUILD48
-rw-r--r--~fauno/haskell-texmath/haskell-texmath.install26
-rw-r--r--~fauno/haskell-xml/PKGBUILD45
-rw-r--r--~fauno/haskell-xml/haskell-xml.install26
-rw-r--r--~fauno/haskell-zip-archive/PKGBUILD57
-rw-r--r--~fauno/haskell-zip-archive/haskell-zip-archive.install26
-rw-r--r--~fauno/pandoc/PKGBUILD53
24 files changed, 897 insertions, 0 deletions
diff --git a/~fauno/bibutils-dynamic/PKGBUILD b/~fauno/bibutils-dynamic/PKGBUILD
new file mode 100644
index 000000000..cc8f371a6
--- /dev/null
+++ b/~fauno/bibutils-dynamic/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Ivy Foster <joyfulgirl (at) archlinux (dot) us>
+
+pkgname=bibutils-dynamic
+_basename=bibutils
+pkgver=4.12
+pkgrel=1
+pkgdesc="Bibliography conversion tools, with dynamic libs"
+arch=("i686" "x86_64")
+url="http://www.scripps.edu/~cdputnam/software/bibutils"
+license=('GPL2')
+makedepends=('tcsh')
+provides=('bibutils')
+source=("${url}/${_basename}_${pkgver}_src.tgz")
+md5sums=('395f46393eca8e184652c5e8e1ae83b6')
+
+build() {
+ cd "${srcdir}/${_basename}_$pkgver"
+ ./configure --dynamic \
+ --install-dir ${pkgdir}/usr/bin \
+ --install-lib ${pkgdir}/usr/lib
+ make
+}
+
+package() {
+ install -d ${pkgdir}/usr/{bin,lib}
+ cd "${srcdir}/${_basename}_$pkgver"
+ make install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/~fauno/haskell-base64-bytestring/PKGBUILD b/~fauno/haskell-base64-bytestring/PKGBUILD
new file mode 100644
index 000000000..9943e7e15
--- /dev/null
+++ b/~fauno/haskell-base64-bytestring/PKGBUILD
@@ -0,0 +1,45 @@
+# custom variables
+_hkgname=base64-bytestring
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-base64-bytestring
+pkgver=0.1.0.3
+pkgrel=1
+pkgdesc="Fast base64 encoding and deconding for ByteStrings"
+url="https://github.com/bos/base64-bytestring"
+license=("BSD3")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-bytestring=0.9.1.10")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("a3d76d27f2271c603990d909fed0a4f175628e9c6e19427cc8387dd4c2429234")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install b/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install
new file mode 100644
index 000000000..55a35b6d2
--- /dev/null
+++ b/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-base64-bytestring
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-citeproc-hs/PKGBUILD b/~fauno/haskell-citeproc-hs/PKGBUILD
new file mode 100644
index 000000000..32f06094b
--- /dev/null
+++ b/~fauno/haskell-citeproc-hs/PKGBUILD
@@ -0,0 +1,60 @@
+# custom variables
+_hkgname=citeproc-hs
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-citeproc-hs
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="A Citation Style Language implementation in Haskell"
+url="http://gorgias.mine.nu/repos/citeproc-hs/"
+license=("BSD3")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-http=4000.1.1"
+ "haskell-bytestring=0.9.1.10"
+ "haskell-containers=0.4.0.0"
+ "haskell-directory=1.1.0.0"
+ "haskell-filepath=1.2.0.0"
+ "haskell-hs-bibutils=4.12"
+ "haskell-json=0.4.4"
+ "haskell-mtl=2.0.1.0"
+ "haskell-network=2.3.0.2"
+ "haskell-old-locale=1.0.0.2"
+ "haskell-pandoc-types=1.8.2"
+ "haskell-parsec=3.1.1"
+ "haskell-syb=0.3"
+ "haskell-time=1.2.0.3"
+ "haskell-utf8-string=0.3.6"
+ "haskell-xml=1.3.9")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("249bc0ec589fc79b098867502732c3c47ce032ad32f82d3280c1ca9373c71f7a")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install b/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install
new file mode 100644
index 000000000..6bf4872f1
--- /dev/null
+++ b/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-citeproc-hs
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-digest/PKGBUILD b/~fauno/haskell-digest/PKGBUILD
new file mode 100644
index 000000000..724a600af
--- /dev/null
+++ b/~fauno/haskell-digest/PKGBUILD
@@ -0,0 +1,46 @@
+# custom variables
+_hkgname=digest
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-digest
+pkgver=0.0.1.0
+pkgrel=1
+pkgdesc="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now."
+url="http://hackage.haskell.org/package/${_hkgname}"
+license=("BSD3")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-bytestring=0.9.1.10"
+ "zlib")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("40319762afc05823920126f13cba02b06544ba039e08c3f63db2ed084a9a4edc")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-digest/haskell-digest.install b/~fauno/haskell-digest/haskell-digest.install
new file mode 100644
index 000000000..7aa8e0003
--- /dev/null
+++ b/~fauno/haskell-digest/haskell-digest.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-digest
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-dlist/PKGBUILD b/~fauno/haskell-dlist/PKGBUILD
new file mode 100644
index 000000000..6b68c97c3
--- /dev/null
+++ b/~fauno/haskell-dlist/PKGBUILD
@@ -0,0 +1,43 @@
+# custom variables
+_hkgname=dlist
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-dlist
+pkgver=0.5
+pkgrel=18
+pkgdesc="Differences lists"
+url="http://code.haskell.org/~dons/code/dlist/"
+license=("BSD3")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2" "sh")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("4780e5409eff55bbfdd7470ef802a087a04048c9cd5efe0482c82878292f19ea")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-dlist/haskell-dlist.install b/~fauno/haskell-dlist/haskell-dlist.install
new file mode 100644
index 000000000..f20fb2952
--- /dev/null
+++ b/~fauno/haskell-dlist/haskell-dlist.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-dlist
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-hs-bibutils/PKGBUILD b/~fauno/haskell-hs-bibutils/PKGBUILD
new file mode 100644
index 000000000..46816e9c2
--- /dev/null
+++ b/~fauno/haskell-hs-bibutils/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Ivy Foster <joyfulgirl (at) archlinux (dot) # us>
+# Contributor: Alexander Dunlap <alexander.dunlap at gmail # dot com>
+
+_hkgname=hs-bibutils
+pkgname=haskell-hs-bibutils
+pkgver=4.12
+pkgrel=4
+pkgdesc="Haskell bindings to bibutils, the bibliography conversion utilities."
+url="http://hackage.haskell.org/package/${_hkgname}"
+license=('GPL')
+arch=('i686' 'x86_64')
+makedepends=()
+depends=('ghc' 'haskell-syb=0.3' 'bibutils-dynamic')
+options=('strip')
+source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+install=${pkgname}.install
+md5sums=('4c4647b34246a4d35f1d1cfb10e6720a')
+
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ runhaskell Setup configure -O \
+ --enable-split-objs \
+ --enable-shared \
+ --prefix=/usr \
+ --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid \
+ --enable-library-profiling
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r \
+ -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" \
+ unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh \
+ ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh \
+ ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 \
+ ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html \
+ ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+}
diff --git a/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install b/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install
new file mode 100644
index 000000000..454c6ff37
--- /dev/null
+++ b/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-hs-bibutils
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-json/PKGBUILD b/~fauno/haskell-json/PKGBUILD
new file mode 100644
index 000000000..2a1da8a47
--- /dev/null
+++ b/~fauno/haskell-json/PKGBUILD
@@ -0,0 +1,51 @@
+# custom variables
+_hkgname=json
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-json
+pkgver=0.4.4
+pkgrel=18
+pkgdesc="Support for serialising Haskell to and from JSON"
+url="http://hackage.haskell.org/package/${_hkgname}"
+license=("BSD3")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-array=0.3.0.2"
+ "haskell-bytestring=0.9.1.10"
+ "haskell-containers=0.4.0.0"
+ "haskell-mtl=2.0.1.0"
+ "haskell-parsec=3.1.1"
+ "haskell-pretty=1.0.1.2"
+ "haskell-syb=0.3")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("010157c267e156489771a3a9466f9de74393d9bc82053c1463af8a55caaf5880")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-json/haskell-json.install b/~fauno/haskell-json/haskell-json.install
new file mode 100644
index 000000000..10d6b7279
--- /dev/null
+++ b/~fauno/haskell-json/haskell-json.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-json
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-pandoc-types/PKGBUILD b/~fauno/haskell-pandoc-types/PKGBUILD
new file mode 100644
index 000000000..954514ebe
--- /dev/null
+++ b/~fauno/haskell-pandoc-types/PKGBUILD
@@ -0,0 +1,46 @@
+# custom variables
+_hkgname=pandoc-types
+_licensefile=COPYING
+
+# PKGBUILD options/directives
+pkgname=haskell-pandoc-types
+pkgver=1.8.2
+pkgrel=1
+pkgdesc="Types for representing a structured document"
+url="http://johnmacfarlane.net/pandoc"
+license=("GPL")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-containers=0.4.0.0"
+ "haskell-syb=0.3")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("6a580be1ec25a747db2ee9df1c98b1f3a778493b98e5148bf8ce5ed1289e9013")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-pandoc-types/haskell-pandoc-types.install b/~fauno/haskell-pandoc-types/haskell-pandoc-types.install
new file mode 100644
index 000000000..34622807c
--- /dev/null
+++ b/~fauno/haskell-pandoc-types/haskell-pandoc-types.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-pandoc-types
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-tagsoup/PKGBUILD b/~fauno/haskell-tagsoup/PKGBUILD
new file mode 100644
index 000000000..0de1f165b
--- /dev/null
+++ b/~fauno/haskell-tagsoup/PKGBUILD
@@ -0,0 +1,47 @@
+# custom variables
+_hkgname=tagsoup
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-tagsoup
+pkgver=0.12.3
+pkgrel=1
+pkgdesc="Parsing and extracting information from (possibly malformed) HTML/XML documents"
+url="http://community.haskell.org/~ndm/tagsoup/"
+license=("BSD3")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-bytestring=0.9.1.10"
+ "haskell-containers=0.4.0.0"
+ "haskell-text=0.11.0.5")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("8bed50b3958a794422563ad93d82fb6d4e806d1884623f35f454ff360d9b8138")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-tagsoup/haskell-tagsoup.install b/~fauno/haskell-tagsoup/haskell-tagsoup.install
new file mode 100644
index 000000000..dc61b4049
--- /dev/null
+++ b/~fauno/haskell-tagsoup/haskell-tagsoup.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-tagsoup
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-texmath/PKGBUILD b/~fauno/haskell-texmath/PKGBUILD
new file mode 100644
index 000000000..95e88912a
--- /dev/null
+++ b/~fauno/haskell-texmath/PKGBUILD
@@ -0,0 +1,48 @@
+# custom variables
+_hkgname=texmath
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-texmath
+pkgver=0.5.0.1
+pkgrel=19
+pkgdesc="Conversion of LaTeX math formulas to MathML."
+url="http://github.com/jgm/texmath"
+license=("GPL")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-containers=0.4.0.0"
+ "haskell-parsec=3.1.1"
+ "haskell-syb=0.3"
+ "haskell-xml=1.3.9")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("bedd883728fbd84bf07c1d1c851440db6d8be6b9e221024533851cd7c21a824f")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-texmath/haskell-texmath.install b/~fauno/haskell-texmath/haskell-texmath.install
new file mode 100644
index 000000000..b95fd0d9f
--- /dev/null
+++ b/~fauno/haskell-texmath/haskell-texmath.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-texmath
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-xml/PKGBUILD b/~fauno/haskell-xml/PKGBUILD
new file mode 100644
index 000000000..fc42941b3
--- /dev/null
+++ b/~fauno/haskell-xml/PKGBUILD
@@ -0,0 +1,45 @@
+# custom variables
+_hkgname=xml
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-xml
+pkgver=1.3.9
+pkgrel=1
+pkgdesc="A simple XML library."
+url="http://code.galois.com"
+license=("BSD3")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-bytestring=0.9.1.10")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("821b368d5b06e695f9a3d35e92b3159c500dbe03f0bc04b0229e5da65b99a6eb")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-xml/haskell-xml.install b/~fauno/haskell-xml/haskell-xml.install
new file mode 100644
index 000000000..741ef9ee0
--- /dev/null
+++ b/~fauno/haskell-xml/haskell-xml.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-xml
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/haskell-zip-archive/PKGBUILD b/~fauno/haskell-zip-archive/PKGBUILD
new file mode 100644
index 000000000..ace343317
--- /dev/null
+++ b/~fauno/haskell-zip-archive/PKGBUILD
@@ -0,0 +1,57 @@
+# custom variables
+_hkgname=zip-archive
+_licensefile=LICENSE
+
+# PKGBUILD options/directives
+pkgname=haskell-zip-archive
+pkgver=0.1.1.7
+pkgrel=18
+pkgdesc="Library for creating and modifying zip archives."
+url="http://github.com/jgm/zip-archive"
+license=("GPL")
+arch=('i686' 'x86_64')
+makedepends=()
+depends=("ghc=7.0.3-2"
+ "sh"
+ "haskell-array=0.3.0.2"
+ "haskell-binary=0.5.0.2"
+ "haskell-bytestring=0.9.1.10"
+ "haskell-containers=0.4.0.0"
+ "haskell-digest=0.0.0.9"
+ "haskell-directory=1.1.0.0"
+ "haskell-filepath=1.2.0.0"
+ "haskell-mtl=2.0.1.0"
+ "haskell-old-time=1.0.0.6"
+ "haskell-pretty=1.0.1.2"
+ "haskell-unix=2.4.2.0"
+ "haskell-utf8-string=0.3.6"
+ "haskell-zlib=0.5.3.1")
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+install="${pkgname}.install"
+sha256sums=("88c096d469d8b4d816dbe15571f2c1e61e31c1cd67f931672240063a51d8a2e0")
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+}
diff --git a/~fauno/haskell-zip-archive/haskell-zip-archive.install b/~fauno/haskell-zip-archive/haskell-zip-archive.install
new file mode 100644
index 000000000..c19836db7
--- /dev/null
+++ b/~fauno/haskell-zip-archive/haskell-zip-archive.install
@@ -0,0 +1,26 @@
+# custom variables
+pkgname=haskell-zip-archive
+HS_DIR=usr/share/haskell/${pkgname}
+
+# functions
+post_install() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_upgrade() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_upgrade() {
+ ${HS_DIR}/register.sh
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+
+pre_remove() {
+ ${HS_DIR}/unregister.sh
+}
+
+post_remove() {
+ (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
diff --git a/~fauno/pandoc/PKGBUILD b/~fauno/pandoc/PKGBUILD
new file mode 100644
index 000000000..4d9a12809
--- /dev/null
+++ b/~fauno/pandoc/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar>
+# Based on haskell-pandoc
+# custom variables
+_hkgname=pandoc
+_licensefile=COPYING
+
+# PKGBUILD options/directives
+pkgname=pandoc
+pkgver=1.8.2.1
+pkgrel=2
+pkgdesc='Conversion between markup formats (no Haskell libs)'
+url='http://johnmacfarlane.net/pandoc'
+license=('GPL')
+arch=('i686' 'x86_64')
+makedepends=('ghc' 'sh' 'haskell-http' 'haskell-base64-bytestring'
+'haskell-bytestring' 'haskell-citeproc-hs' 'haskell-containers'
+'haskell-directory' 'haskell-dlist' 'haskell-extensible-exceptions'
+'haskell-filepath' 'haskell-json' 'haskell-mtl' 'haskell-network'
+'haskell-old-time' 'haskell-pandoc-types' 'haskell-parsec' 'haskell-process'
+'haskell-random' 'haskell-syb' 'haskell-tagsoup' 'haskell-texmath'
+'haskell-utf8-string' 'haskell-xhtml' 'haskell-xml' 'haskell-zip-archive')
+options=('strip')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha256sums=('f1025377b2c78043b06d7963eb61ce66c2290d2580f2488a8186c82c24f09433')
+conflicts=('haskell-pandoc')
+
+# PKGBUILD functions
+build() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+
+ runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+ --prefix=/usr --docdir=/usr/share/doc/${pkgname} \
+ --libsubdir=\$compiler/site-local/\$pkgid
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+ cd ${srcdir}/${_hkgname}-${pkgver}
+ install -D -m744 register.sh ${pkgdir}/usr/share/haskell/${pkgname}/register.sh
+ install -m744 unregister.sh ${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh
+ install -d -m755 ${pkgdir}/usr/share/doc/ghc/html/libraries
+ ln -s /usr/share/doc/${pkgname}/html ${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}
+ runhaskell Setup copy --destdir=${pkgdir}
+ install -D -m644 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile}
+
+ msg2 "Removing Haskell libs"
+ rm -rvf ${pkgdir}/usr/lib
+}