[arch-commits] Commit in haskell-gnutls/repos (4 files)

2017-09-24 Thread Felix Yan
Date: Sunday, September 24, 2017 @ 08:44:30
  Author: felixonmars
Revision: 260398

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-gnutls/repos/community-i686/PKGBUILD
(from rev 260397, haskell-gnutls/trunk/PKGBUILD)
  haskell-gnutls/repos/community-x86_64/PKGBUILD
(from rev 260397, haskell-gnutls/trunk/PKGBUILD)
Deleted:
  haskell-gnutls/repos/community-i686/PKGBUILD
  haskell-gnutls/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   76 
 community-i686/PKGBUILD   |   41 ---
 community-x86_64/PKGBUILD |   41 ---
 3 files changed, 76 insertions(+), 82 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-09-24 08:43:49 UTC (rev 260397)
+++ community-i686/PKGBUILD 2017-09-24 08:44:30 UTC (rev 260398)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=gnutls
-pkgname=haskell-gnutls
-pkgver=0.2
-pkgrel=5
-pkgdesc="Bindings for GNU libgnutls"
-url="https://john-millikin.com/software/haskell-gnutls/;
-license=("GPL3")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' "gnutls" "haskell-monads-tf")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
-
-build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-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/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
-
-# Remove static libs
-find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: haskell-gnutls/repos/community-i686/PKGBUILD (from rev 260397, 
haskell-gnutls/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-09-24 08:44:30 UTC (rev 260398)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=6
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "gnutls" "haskell-monads-tf")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('9b5e3083fae30e4ac8584c825ed1f1c07b24136ca6d30c627f17d1c7793a515a091919784791b3a5bcd05038d8d43419802e036cefe8525efac9ee3f9ebf9e8b')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2017-09-24 08:43:49 UTC (rev 260397)
+++ community-x86_64/PKGBUILD   2017-09-24 08:44:30 UTC (rev 260398)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=gnutls
-pkgname=haskell-gnutls
-pkgver=0.2
-pkgrel=5
-pkgdesc="Bindings for GNU libgnutls"
-url="https://john-millikin.com/software/haskell-gnutls/;

[arch-commits] Commit in haskell-gnutls/repos (4 files)

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 07:44:09
  Author: felixonmars
Revision: 250664

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-gnutls/repos/community-staging-i686/
  haskell-gnutls/repos/community-staging-i686/PKGBUILD
(from rev 250663, haskell-gnutls/trunk/PKGBUILD)
  haskell-gnutls/repos/community-staging-x86_64/
  haskell-gnutls/repos/community-staging-x86_64/PKGBUILD
(from rev 250663, haskell-gnutls/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   41 
 community-staging-x86_64/PKGBUILD |   41 
 2 files changed, 82 insertions(+)

Copied: haskell-gnutls/repos/community-staging-i686/PKGBUILD (from rev 250663, 
haskell-gnutls/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-15 07:44:09 UTC (rev 250664)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=5
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "gnutls" "haskell-monads-tf")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-gnutls/repos/community-staging-x86_64/PKGBUILD (from rev 
250663, haskell-gnutls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-15 07:44:09 UTC (rev 250664)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=5
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "gnutls" "haskell-monads-tf")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}


[arch-commits] Commit in haskell-gnutls/repos (4 files)

2017-06-16 Thread Felix Yan
Date: Friday, June 16, 2017 @ 08:17:53
  Author: felixonmars
Revision: 237544

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-gnutls/repos/community-staging-i686/
  haskell-gnutls/repos/community-staging-i686/PKGBUILD
(from rev 237543, haskell-gnutls/trunk/PKGBUILD)
  haskell-gnutls/repos/community-staging-x86_64/
  haskell-gnutls/repos/community-staging-x86_64/PKGBUILD
(from rev 237543, haskell-gnutls/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-x86_64/PKGBUILD |   43 
 2 files changed, 86 insertions(+)

Copied: haskell-gnutls/repos/community-staging-i686/PKGBUILD (from rev 237543, 
haskell-gnutls/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-16 08:17:53 UTC (rev 237544)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=4
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=("ghc" "gnutls" "haskell-monads-tf")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-gnutls/repos/community-staging-x86_64/PKGBUILD (from rev 
237543, haskell-gnutls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-16 08:17:53 UTC (rev 237544)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=4
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=("ghc" "gnutls" "haskell-monads-tf")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}


[arch-commits] Commit in haskell-gnutls/repos (4 files)

2016-06-09 Thread Felix Yan
Date: Friday, June 10, 2016 @ 07:07:28
  Author: fyan
Revision: 179034

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-gnutls/repos/community-staging-i686/
  haskell-gnutls/repos/community-staging-i686/PKGBUILD
(from rev 179033, haskell-gnutls/trunk/PKGBUILD)
  haskell-gnutls/repos/community-staging-x86_64/
  haskell-gnutls/repos/community-staging-x86_64/PKGBUILD
(from rev 179033, haskell-gnutls/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   40 
 community-staging-x86_64/PKGBUILD |   40 
 2 files changed, 80 insertions(+)

Copied: haskell-gnutls/repos/community-staging-i686/PKGBUILD (from rev 179033, 
haskell-gnutls/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-10 05:07:28 UTC (rev 179034)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=3
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "gnutls" "haskell-monads-tf")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}

Copied: haskell-gnutls/repos/community-staging-x86_64/PKGBUILD (from rev 
179033, haskell-gnutls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-06-10 05:07:28 UTC (rev 179034)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=3
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "gnutls" "haskell-monads-tf")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}


[arch-commits] Commit in haskell-gnutls/repos (4 files)

2016-05-25 Thread Felix Yan
Date: Wednesday, May 25, 2016 @ 10:13:35
  Author: fyan
Revision: 176701

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-gnutls/repos/community-staging-i686/
  haskell-gnutls/repos/community-staging-i686/PKGBUILD
(from rev 176700, haskell-gnutls/trunk/PKGBUILD)
  haskell-gnutls/repos/community-staging-x86_64/
  haskell-gnutls/repos/community-staging-x86_64/PKGBUILD
(from rev 176700, haskell-gnutls/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   40 
 community-staging-x86_64/PKGBUILD |   40 
 2 files changed, 80 insertions(+)

Copied: haskell-gnutls/repos/community-staging-i686/PKGBUILD (from rev 176700, 
haskell-gnutls/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-25 08:13:35 UTC (rev 176701)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=2
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "gnutls" "haskell-monads-tf")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}

Copied: haskell-gnutls/repos/community-staging-x86_64/PKGBUILD (from rev 
176700, haskell-gnutls/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-25 08:13:35 UTC (rev 176701)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gnutls
+pkgname=haskell-gnutls
+pkgver=0.2
+pkgrel=2
+pkgdesc="Bindings for GNU libgnutls"
+url="https://john-millikin.com/software/haskell-gnutls/;
+license=("GPL3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "gnutls" "haskell-monads-tf")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('c0e6fddf92d48d1e6ab0d93af8104cc83d250eab7b3d369780ef72801aa8b7b0')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+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/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.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}"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
+}