summaryrefslogtreecommitdiff
path: root/~fauno
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-07 17:33:04 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-07 17:33:04 -0300
commit2302f1d28510fadb2dcfa119f28ed28f164845bf (patch)
treee7040e1c743f46bc60a7844275516e4404f6ac30 /~fauno
parent2a9d1292ab60e8a2356fb3eeb36b8c3cfc22759b (diff)
parent5442e9b8f357932ed5d6cb46e90fcbf6f453469f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/fotoxx/PKGBUILD community/gtkdialog/PKGBUILD community/hubbub/PKGBUILD community/libgdamm/PKGBUILD community/libparserutils/PKGBUILD community/mingw32-binutils/PKGBUILD community/mingw32-gcc-base/PKGBUILD community/mingw32-gcc/PKGBUILD community/mtpaint/PKGBUILD community/netsurf/PKGBUILD community/patchage/PKGBUILD community/qgo/PKGBUILD community/tomoyo-tools/PKGBUILD community/tre/PKGBUILD community/virtualbox/PKGBUILD core/net-tools/PKGBUILD core/openldap/PKGBUILD extra/epiphany/PKGBUILD extra/evince/PKGBUILD extra/evolution-data-server/PKGBUILD extra/evolution/PKGBUILD extra/exiv2/PKGBUILD extra/folks/PKGBUILD extra/gimp-ufraw/PKGBUILD extra/gnome-control-center/PKGBUILD extra/gnome-power-manager/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/gnome-python-extras/PKGBUILD extra/gvfs/PKGBUILD extra/jack/PKGBUILD extra/kdelibs/PKGBUILD extra/kdepim/PKGBUILD extra/koffice/PKGBUILD extra/libreoffice/PKGBUILD extra/libwebkit/PKGBUILD extra/mutter/PKGBUILD extra/nautilus/PKGBUILD extra/openmpi/PKGBUILD extra/pavucontrol/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/postgresql/PKGBUILD extra/pulseaudio/PKGBUILD extra/pygobject2/PKGBUILD extra/swt/PKGBUILD extra/tomcat/PKGBUILD extra/totem/PKGBUILD extra/vigra/PKGBUILD extra/vte/PKGBUILD extra/xulrunner/PKGBUILD kde-unstable/calligra/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD multilib/lib32-atk/PKGBUILD multilib/lib32-gdk-pixbuf2/PKGBUILD multilib/lib32-glew/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-jack/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/lib32-pango/PKGBUILD multilib/wine/PKGBUILD social/miniupnpc/PKGBUILD testing/icedtea-web-java7/PKGBUILD testing/sqlite3/PKGBUILD ~xihh/abiword/PKGBUILD
Diffstat (limited to '~fauno')
-rw-r--r--~fauno/bibutils-dynamic/PKGBUILD30
-rw-r--r--~fauno/emerillon/PKGBUILD26
-rw-r--r--~fauno/emerillon/emerillon.install12
-rw-r--r--~fauno/ethos/PKGBUILD24
-rw-r--r--~fauno/geoclue/PKGBUILD28
-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/librest/PKGBUILD28
-rw-r--r--~fauno/pandoc/PKGBUILD53
29 files changed, 1015 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/emerillon/PKGBUILD b/~fauno/emerillon/PKGBUILD
new file mode 100644
index 000000000..621ed04bb
--- /dev/null
+++ b/~fauno/emerillon/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Isaac Dupree <id@isaac.cedarswampstudios.org>
+# Contributor: yannsen <ynnsen@gmail.com>
+pkgname=emerillon
+arch=('i686' 'x86_64')
+pkgver=0.1.90
+pkgrel=2
+pkgdesc="OpenStreetMap viewer"
+url="http://projects.gnome.org/emerillon/"
+license=('GPL2')
+depends=('libpeas' 'geoclue' 'libsoup-gnome' 'libchamplain>=0.12.0' 'librest' 'ethos')
+makedepends=('intltool' 'gnome-common' 'vala' 'gtk-doc')
+options=(!libtool)
+install=${pkgname}.install
+source=(http://download.gnome.org/sources/emerillon/0.1/${pkgname}-${pkgver}.tar.xz)
+md5sums=('d740ee4d5fcd7b39fde15e75b4ee7a3a')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ ./configure --prefix=/usr
+ make
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=$pkgdir install
+}
diff --git a/~fauno/emerillon/emerillon.install b/~fauno/emerillon/emerillon.install
new file mode 100644
index 000000000..77c7018ea
--- /dev/null
+++ b/~fauno/emerillon/emerillon.install
@@ -0,0 +1,12 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
diff --git a/~fauno/ethos/PKGBUILD b/~fauno/ethos/PKGBUILD
new file mode 100644
index 000000000..f05c8fa8b
--- /dev/null
+++ b/~fauno/ethos/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: yannsen <ynnsen@gmail.com>
+pkgname=ethos
+pkgver=0.2.2
+pkgrel=6
+arch=('i686' 'x86_64')
+pkgdesc="Plugin framework for GLib"
+url="http://git.dronelabs.com/ethos/about/"
+license="LGPL"
+depends=(python2 gtk2)
+makedepends=(intltool pygtk)
+source=(http://ftp.dronelabs.com/sources/$pkgname/0.2/$pkgname-$pkgver.tar.gz)
+md5sums=('36cf1ef444a224556bba4d441c400300')
+options=(!libtool)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
diff --git a/~fauno/geoclue/PKGBUILD b/~fauno/geoclue/PKGBUILD
new file mode 100644
index 000000000..e370197c7
--- /dev/null
+++ b/~fauno/geoclue/PKGBUILD
@@ -0,0 +1,28 @@
+# mAINTAIner: Isaac Dupree <id@isaac.cedarswampstudios.org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
+# Contributor: Kurama <kurama_luka@yahoo.it>
+
+pkgname=geoclue
+pkgver=0.12
+pkgrel=2
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
+arch=('i686' 'x86_64')
+url="http://geoclue.freedesktop.org"
+license=('LGPL')
+depends=('gconf')
+makedepends=('gtk-doc' 'libtool')
+source=(http://cgit.freedesktop.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz)
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+# unset LDFLAGS
+ ./autogen.sh --prefix=/usr --libexecdir=/usr/lib
+ find -name 'Makefile' -print0 | xargs -0 sed -i "s/-Werror //"
+ make
+}
+
+package(){
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
+md5sums=('684e24d1ff3683953c968fed210b2982')
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/librest/PKGBUILD b/~fauno/librest/PKGBUILD
new file mode 100644
index 000000000..a66c4559e
--- /dev/null
+++ b/~fauno/librest/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: Berseker <berseker86 at gmail dot com>
+
+pkgname=librest
+_realname=rest
+
+pkgver=0.7.10
+pkgrel=1
+pkgdesc="a library to access 'RESTful' web services"
+arch=('i686' 'x86_64')
+url="http://moblin.org/projects/librest/"
+license=('GPL')
+source=(http://ftp.gnome.org/pub/GNOME/sources/rest/0.7/${_realname}-${pkgver}.tar.bz2)
+options=('!libtool')
+depends=('libsoup-gnome' 'libxml2')
+makedepends=('gtk-doc')
+
+build() {
+ cd "$srcdir/${_realname}-${pkgver}"
+
+ ./configure --prefix=/usr #--without-gnome
+ make
+}
+
+package() {
+ cd "$srcdir/${_realname}-${pkgver}"
+ make DESTDIR="$pkgdir/" install
+}
+md5sums=('f47850d26bfb6148d1a3db9e74426e20')
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
+}