[arch-commits] Commit in haskell-warp/repos (6 files)

2016-05-19 Thread Felix Yan
Date: Thursday, May 19, 2016 @ 16:01:38
  Author: fyan
Revision: 175697

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 175696, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 175696, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 175696, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 175696, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 175696, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-19 14:01:38 UTC (rev 175697)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.6
+pkgrel=7
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-async" "haskell-auto-update" 
"haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('4ac0ce7613a5a9c70d2100d8553c790567a4cd2147b994c5f838c2862e6dd810')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 175696, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-05-19 14:01:38 UTC (rev 
175697)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 175696, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-19 14:01:38 UTC (rev 175697)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-05-12 Thread Felix Yan
Date: Thursday, May 12, 2016 @ 13:58:15
  Author: fyan
Revision: 174972

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 174969, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 174969, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 174970, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 174970, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 174969, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-12 11:58:15 UTC (rev 174972)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.6
+pkgrel=6
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-async" "haskell-auto-update" 
"haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('4ac0ce7613a5a9c70d2100d8553c790567a4cd2147b994c5f838c2862e6dd810')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 174969, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-05-12 11:58:15 UTC (rev 
174972)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 174970, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-12 11:58:15 UTC (rev 174972)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-05-09 Thread Felix Yan
Date: Monday, May 9, 2016 @ 16:59:27
  Author: fyan
Revision: 174432

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 174431, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 174431, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 174431, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 174431, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 174431, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-09 14:59:27 UTC (rev 174432)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.6
+pkgrel=5
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-async" "haskell-auto-update" 
"haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('4ac0ce7613a5a9c70d2100d8553c790567a4cd2147b994c5f838c2862e6dd810')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 174431, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-05-09 14:59:27 UTC (rev 
174432)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 174431, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-09 14:59:27 UTC (rev 174432)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-05-02 Thread Felix Yan
Date: Monday, May 2, 2016 @ 10:07:35
  Author: fyan
Revision: 173313

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 173312, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 173312, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 173312, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 173312, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 173312, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-02 08:07:35 UTC (rev 173313)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.6
+pkgrel=4
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-async" "haskell-auto-update" 
"haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('4ac0ce7613a5a9c70d2100d8553c790567a4cd2147b994c5f838c2862e6dd810')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 173312, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-05-02 08:07:35 UTC (rev 
173313)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 173312, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-02 08:07:35 UTC (rev 173313)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-04-15 Thread Felix Yan
Date: Saturday, April 16, 2016 @ 05:27:10
  Author: fyan
Revision: 171142

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 171141, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 171141, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 171141, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 171141, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 171141, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-16 03:27:10 UTC (rev 171142)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.6
+pkgrel=2
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-async" "haskell-auto-update" 
"haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('4ac0ce7613a5a9c70d2100d8553c790567a4cd2147b994c5f838c2862e6dd810')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 171141, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-04-16 03:27:10 UTC (rev 
171142)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 171141, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-16 03:27:10 UTC (rev 171142)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-04-09 Thread Felix Yan
Date: Sunday, April 10, 2016 @ 06:58:59
  Author: fyan
Revision: 169965

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 169964, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 169964, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 169964, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 169964, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 169964, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-10 04:58:59 UTC (rev 169965)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.6
+pkgrel=1
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-async" "haskell-auto-update" 
"haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('4ac0ce7613a5a9c70d2100d8553c790567a4cd2147b994c5f838c2862e6dd810')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 169964, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-04-10 04:58:59 UTC (rev 
169965)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 169964, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-10 04:58:59 UTC (rev 169965)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-29 Thread Felix Yan
Date: Wednesday, March 30, 2016 @ 06:20:41
  Author: fyan
Revision: 168849

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 168848, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 168848, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 168848, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 168848, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 168848, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-30 04:20:41 UTC (rev 168849)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.4
+pkgrel=1
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-async" "haskell-auto-update" 
"haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('82eb213819d241b18fda6d9d9c1f2336237dbb0741e9eee5dc5cf3731fcef2c1')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 168848, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-30 04:20:41 UTC (rev 
168849)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 168848, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-30 04:20:41 UTC (rev 168849)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-24 Thread Felix Yan
Date: Thursday, March 24, 2016 @ 07:45:32
  Author: fyan
Revision: 168158

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 168157, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 168157, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 168157, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 168157, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 168157, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-24 06:45:32 UTC (rev 168158)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=11
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 168157, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-24 06:45:32 UTC (rev 
168158)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 168157, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-24 06:45:32 UTC (rev 168158)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-22 Thread Felix Yan
Date: Wednesday, March 23, 2016 @ 05:10:01
  Author: fyan
Revision: 167970

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 167969, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 167969, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 167969, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 167969, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 167969, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-23 04:10:01 UTC (rev 167970)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=10
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 167969, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-23 04:10:01 UTC (rev 
167970)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 167969, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-23 04:10:01 UTC (rev 167970)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-19 Thread Felix Yan
Date: Friday, March 18, 2016 @ 05:37:56
  Author: fyan
Revision: 167137

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 167136, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 167136, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 167136, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 167136, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 167136, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 04:37:56 UTC (rev 167137)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=9
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 167136, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-18 04:37:56 UTC (rev 
167137)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 167136, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-18 04:37:56 UTC (rev 167137)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-16 Thread Felix Yan
Date: Wednesday, March 16, 2016 @ 08:47:41
  Author: fyan
Revision: 166889

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 166888, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 166888, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 166888, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 166888, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 166888, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-16 07:47:41 UTC (rev 166889)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=8
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 166888, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-16 07:47:41 UTC (rev 
166889)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 166888, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-16 07:47:41 UTC (rev 166889)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-13 Thread Felix Yan
Date: Monday, March 14, 2016 @ 04:40:11
  Author: fyan
Revision: 166581

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 166580, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 166580, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 166580, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 166580, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 166580, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-14 03:40:11 UTC (rev 166581)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=7
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 166580, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-14 03:40:11 UTC (rev 
166581)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 166580, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-14 03:40:11 UTC (rev 166581)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-10 Thread Felix Yan
Date: Friday, March 11, 2016 @ 08:51:50
  Author: fyan
Revision: 166043

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 166042, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 166042, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 166042, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 166042, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 166042, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-11 07:51:50 UTC (rev 166043)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=6
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 166042, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-11 07:51:50 UTC (rev 
166043)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 166042, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-11 07:51:50 UTC (rev 166043)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-08 Thread Felix Yan
Date: Wednesday, March 9, 2016 @ 06:45:08
  Author: fyan
Revision: 165670

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 165669, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 165669, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 165669, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 165669, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 165669, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-09 05:45:08 UTC (rev 165670)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=5
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 165669, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-09 05:45:08 UTC (rev 
165670)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 165669, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-09 05:45:08 UTC (rev 165670)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-03-03 Thread Felix Yan
Date: Friday, March 4, 2016 @ 06:24:24
  Author: fyan
Revision: 164610

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 164609, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 164609, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 164609, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 164609, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 164609, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-04 05:24:24 UTC (rev 164610)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=4
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 164609, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-03-04 05:24:24 UTC (rev 
164610)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 164609, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-04 05:24:24 UTC (rev 164610)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-02-22 Thread Felix Yan
Date: Tuesday, February 23, 2016 @ 07:12:56
  Author: fyan
Revision: 163195

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 163194, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 163194, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 163194, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 163194, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 163194, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-23 06:12:56 UTC (rev 163195)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.3
+pkgrel=1
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('3a218d436cd77d41a157e67721ac59892e70f09fcd39594fc4707dabec760ee8')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 163194, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-02-23 06:12:56 UTC (rev 
163195)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 163194, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-23 06:12:56 UTC (rev 163195)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-02-20 Thread Felix Yan
Date: Saturday, February 20, 2016 @ 16:06:37
  Author: fyan
Revision: 162793

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 162792, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 162792, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 162792, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 162792, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 162792, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-20 15:06:37 UTC (rev 162793)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=10
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 162792, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-02-20 15:06:37 UTC (rev 
162793)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 162792, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-20 15:06:37 UTC (rev 162793)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-02-17 Thread Felix Yan
Date: Wednesday, February 17, 2016 @ 11:36:30
  Author: fyan
Revision: 162003

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 162002, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 162002, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 162002, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 162002, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 162002, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-17 10:36:30 UTC (rev 162003)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=9
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 162002, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-02-17 10:36:30 UTC (rev 
162003)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 162002, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-17 10:36:30 UTC (rev 162003)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-02-11 Thread Felix Yan
Date: Friday, February 12, 2016 @ 04:24:35
  Author: fyan
Revision: 161348

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 161347, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 161347, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 161347, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 161347, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 161347, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-12 03:24:35 UTC (rev 161348)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=8
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 161347, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-02-12 03:24:35 UTC (rev 
161348)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 161347, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-12 03:24:35 UTC (rev 161348)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-02-10 Thread Felix Yan
Date: Thursday, February 11, 2016 @ 07:46:06
  Author: fyan
Revision: 161126

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 161125, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 161125, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 161125, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 161125, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 161125, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-11 06:46:06 UTC (rev 161126)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=7
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 161125, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-02-11 06:46:06 UTC (rev 
161126)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 161125, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-11 06:46:06 UTC (rev 161126)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-02-07 Thread Felix Yan
Date: Monday, February 8, 2016 @ 03:09:40
  Author: fyan
Revision: 160829

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 160828, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 160828, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 160828, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 160828, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 160828, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-08 02:09:40 UTC (rev 160829)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=6
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 160828, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-02-08 02:09:40 UTC (rev 
160829)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 160828, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-08 02:09:40 UTC (rev 160829)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-02-03 Thread Felix Yan
Date: Thursday, February 4, 2016 @ 04:07:17
  Author: fyan
Revision: 160157

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 160156, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 160156, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 160156, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 160156, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 160156, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-04 03:07:17 UTC (rev 160157)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=5
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 160156, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-02-04 03:07:17 UTC (rev 
160157)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 160156, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-04 03:07:17 UTC (rev 160157)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-01-20 Thread Felix Yan
Date: Thursday, January 21, 2016 @ 02:59:42
  Author: fyan
Revision: 158339

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 158338, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 158338, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 158338, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 158338, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 158338, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-21 01:59:42 UTC (rev 158339)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=4
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 158338, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-01-21 01:59:42 UTC (rev 
158339)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 158338, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-21 01:59:42 UTC (rev 158339)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-01-19 Thread Felix Yan
Date: Tuesday, January 19, 2016 @ 12:59:52
  Author: fyan
Revision: 157618

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 157617, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 157617, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 157617, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 157617, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 157617, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-19 11:59:52 UTC (rev 157618)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=2
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 157617, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-01-19 11:59:52 UTC (rev 
157618)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 157617, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-19 11:59:52 UTC (rev 157618)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-01-19 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 04:49:42
  Author: fyan
Revision: 157835

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

Added:
  haskell-warp/repos/community-staging-i686/
  haskell-warp/repos/community-staging-i686/PKGBUILD
(from rev 157834, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-i686/haskell-warp.install
(from rev 157834, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-staging-x86_64/
  haskell-warp/repos/community-staging-x86_64/PKGBUILD
(from rev 157834, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-staging-x86_64/haskell-warp.install
(from rev 157834, haskell-warp/trunk/haskell-warp.install)

---+
 community-staging-i686/PKGBUILD   |   52 
 community-staging-i686/haskell-warp.install   |   18 
 community-staging-x86_64/PKGBUILD |   52 
 community-staging-x86_64/haskell-warp.install |   18 
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-staging-i686/PKGBUILD (from rev 157834, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-20 03:49:42 UTC (rev 157835)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=3
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-staging-i686/haskell-warp.install (from 
rev 157834, haskell-warp/trunk/haskell-warp.install)
===
--- community-staging-i686/haskell-warp.install (rev 0)
+++ community-staging-i686/haskell-warp.install 2016-01-20 03:49:42 UTC (rev 
157835)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-staging-x86_64/PKGBUILD (from rev 157834, 
haskell-warp/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-20 03:49:42 UTC (rev 157835)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp

[arch-commits] Commit in haskell-warp/repos (6 files)

2016-01-16 Thread Felix Yan
Date: Saturday, January 16, 2016 @ 09:32:09
  Author: fyan
Revision: 156956

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

Added:
  haskell-warp/repos/community-i686/
  haskell-warp/repos/community-i686/PKGBUILD
(from rev 156955, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-i686/haskell-warp.install
(from rev 156955, haskell-warp/trunk/haskell-warp.install)
  haskell-warp/repos/community-x86_64/
  haskell-warp/repos/community-x86_64/PKGBUILD
(from rev 156955, haskell-warp/trunk/PKGBUILD)
  haskell-warp/repos/community-x86_64/haskell-warp.install
(from rev 156955, haskell-warp/trunk/haskell-warp.install)

---+
 community-i686/PKGBUILD   |   52 
 community-i686/haskell-warp.install   |   18 +++
 community-x86_64/PKGBUILD |   52 
 community-x86_64/haskell-warp.install |   18 +++
 4 files changed, 140 insertions(+)

Copied: haskell-warp/repos/community-i686/PKGBUILD (from rev 156955, 
haskell-warp/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-01-16 08:32:09 UTC (rev 156956)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-auto-update" "haskell-blaze-builder"
+ "haskell-case-insensitive" "haskell-hashable" "haskell-http-date"
+ "haskell-http-types" "haskell-http2" "haskell-iproute" 
"haskell-network"
+ "haskell-simple-sendfile" "haskell-stm" "haskell-streaming-commons"
+ "haskell-text" "haskell-unix-compat" "haskell-vault" "haskell-wai"
+ "haskell-word8")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('c04acc6a4933ddba8bfa7a0752848f9b546162944b917fa39c65f82bca11b3a3')
+
+prepare() {
+sed -i '/bytestring-builder/d' $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+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 \
+-f-warp-debug -fallow-sendfilefd -f-network-bytestring
+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.*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 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-warp/repos/community-i686/haskell-warp.install (from rev 
156955, haskell-warp/trunk/haskell-warp.install)
===
--- community-i686/haskell-warp.install (rev 0)
+++ community-i686/haskell-warp.install 2016-01-16 08:32:09 UTC (rev 156956)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-warp
+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)
+}

Copied: haskell-warp/repos/community-x86_64/PKGBUILD (from rev 156955, 
haskell-warp/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2016-01-16 08:32:09 UTC (rev 156956)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=warp
+pkgname=haskell-warp
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="A fast, light-weight web server for WAI applications."
+url="http://github.com/yesodweb/wai;
+license=("MIT")