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

2016-05-02 Thread Felix Yan
Date: Monday, May 2, 2016 @ 10:14:51
  Author: fyan
Revision: 173317

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 173316, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 173316, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 173316, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 173316, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
173316, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-02 08:14:51 UTC (rev 173317)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.3.0
+pkgrel=1
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-base-compat" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-semigroups" 
"haskell-text"
+ "haskell-tagged" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('33a6a4c8d41b3ee08432c1ed0f118b595cd582cffb81b8621ad0bbd3164eb7e4')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 173316, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-05-02 08:14:51 UTC 
(rev 173317)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
173316, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-02 08:14:51 UTC (rev 173317)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=ha

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

2016-04-28 Thread Felix Yan
Date: Friday, April 29, 2016 @ 06:44:14
  Author: fyan
Revision: 172571

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 172570, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 172570, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 172570, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 172570, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
172570, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-29 04:44:14 UTC (rev 172571)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.2.0
+pkgrel=3
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-base-compat" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-semigroups" 
"haskell-text"
+ "haskell-tagged" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('ab594edc5bb15e42975536e689485d0b356d25727b0645d7bfd2f4fa9e27d338')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 172570, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-04-29 04:44:14 UTC 
(rev 172571)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
172570, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-29 04:44:14 UTC (rev 172571)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname

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

2016-04-12 Thread Felix Yan
Date: Tuesday, April 12, 2016 @ 09:12:38
  Author: fyan
Revision: 170603

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 170602, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 170602, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 170602, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 170602, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
170602, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-12 07:12:38 UTC (rev 170603)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.2.0
+pkgrel=2
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-base-compat" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-semigroups" 
"haskell-text"
+ "haskell-tagged" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('ab594edc5bb15e42975536e689485d0b356d25727b0645d7bfd2f4fa9e27d338')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 170602, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-04-12 07:12:38 UTC 
(rev 170603)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
170602, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-12 07:12:38 UTC (rev 170603)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgnam

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

2016-03-27 Thread Felix Yan
Date: Monday, March 28, 2016 @ 05:17:18
  Author: fyan
Revision: 168593

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 168592, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 168592, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 168592, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 168592, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
168592, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-28 03:17:18 UTC (rev 168593)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.2.0
+pkgrel=1
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-base-compat" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-semigroups" 
"haskell-text"
+ "haskell-tagged" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('ab594edc5bb15e42975536e689485d0b356d25727b0645d7bfd2f4fa9e27d338')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 168592, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-03-28 03:17:18 UTC 
(rev 168593)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
168592, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-28 03:17:18 UTC (rev 168593)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname

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

2016-03-23 Thread Felix Yan
Date: Thursday, March 24, 2016 @ 07:46:07
  Author: fyan
Revision: 168160

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 168159, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 168159, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 168159, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 168159, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
168159, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-24 06:46:07 UTC (rev 168160)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=10
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-e 's/aeson>=0.7.0.6 && <0.11.1/aeson  
  >=0.7.0.6 \&\& <0.12/' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 168159, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-03-24 06:46:07 UTC 
(rev 168160)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
168159, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-24 06:46:07 UTC (rev 168160)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Has

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

2016-03-22 Thread Felix Yan
Date: Wednesday, March 23, 2016 @ 05:16:05
  Author: fyan
Revision: 167974

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 167973, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 167973, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 167973, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 167973, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
167973, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-23 04:16:05 UTC (rev 167974)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=9
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-e 's/aeson>=0.7.0.6 && <0.11.1/aeson  
  >=0.7.0.6 \&\& <0.12/' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 167973, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-03-23 04:16:05 UTC 
(rev 167974)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
167973, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-23 04:16:05 UTC (rev 167974)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Has

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

2016-03-19 Thread Felix Yan
Date: Friday, March 18, 2016 @ 05:49:35
  Author: fyan
Revision: 167151

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 167150, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 167150, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 167150, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 167150, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
167150, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 04:49:35 UTC (rev 167151)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=8
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-e 's/aeson>=0.7.0.6 && <0.11.1/aeson  
  >=0.7.0.6 \&\& <0.12/' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 167150, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-03-18 04:49:35 UTC 
(rev 167151)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
167150, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-18 04:49:35 UTC (rev 167151)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskel

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

2016-03-13 Thread Felix Yan
Date: Monday, March 14, 2016 @ 04:41:16
  Author: fyan
Revision: 166583

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 166582, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 166582, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 166582, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 166582, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
166582, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-14 03:41:16 UTC (rev 166583)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=7
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-e 's/aeson>=0.7.0.6 && <0.11.1/aeson  
  >=0.7.0.6 \&\& <0.12/' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 166582, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-03-14 03:41:16 UTC 
(rev 166583)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
166582, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-14 03:41:16 UTC (rev 166583)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskel

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

2016-03-10 Thread Felix Yan
Date: Friday, March 11, 2016 @ 08:55:21
  Author: fyan
Revision: 166045

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 166044, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 166044, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 166044, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 166044, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
166044, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-11 07:55:21 UTC (rev 166045)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=6
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-e 's/aeson>=0.7.0.6 && <0.11.1/aeson  
  >=0.7.0.6 \&\& <0.12/' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 166044, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-03-11 07:55:21 UTC 
(rev 166045)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
166044, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-11 07:55:21 UTC (rev 166045)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskel

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

2016-03-08 Thread Felix Yan
Date: Wednesday, March 9, 2016 @ 06:27:09
  Author: fyan
Revision: 165666

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 165665, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 165665, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 165665, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 165665, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
165665, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-09 05:27:09 UTC (rev 165666)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=5
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-e 's/aeson>=0.7.0.6 && <0.11.1/aeson  
  >=0.7.0.6 \&\& <0.12/' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 165665, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-03-09 05:27:09 UTC 
(rev 165666)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
165665, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-09 05:27:09 UTC (rev 165666)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Hask

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

2016-03-01 Thread Felix Yan
Date: Wednesday, March 2, 2016 @ 06:46:30
  Author: fyan
Revision: 164057

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 164056, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 164056, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 164056, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 164056, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   51 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   51 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 138 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
164056, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-02 05:46:30 UTC (rev 164057)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=4
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# nats is an empty package in new GHC
+sed -e '/nats/d' \
+-e 's/aeson>=0.7.0.6 && <0.11.1/aeson  
  >=0.7.0.6 \&\& <0.12/' \
+-i ${_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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 164056, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-03-02 05:46:30 UTC 
(rev 164057)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
164056, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-02 05:46:30 UTC (rev 164057)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Hask

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

2016-02-20 Thread Felix Yan
Date: Saturday, February 20, 2016 @ 16:11:54
  Author: fyan
Revision: 162797

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 162796, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 162796, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 162796, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 162796, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 134 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
162796, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-20 15:11:54 UTC (rev 162797)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=3
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# Empty package in new GHC
+sed -i '/nats/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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 162796, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-02-20 15:11:54 UTC 
(rev 162797)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
162796, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-20 15:11:54 UTC (rev 162797)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=3
+pkgdesc="Compatibility layer for aeson"
+u

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

2016-02-17 Thread Felix Yan
Date: Wednesday, February 17, 2016 @ 12:39:34
  Author: fyan
Revision: 162007

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 162006, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 162006, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 162006, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 162006, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 134 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
162006, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-17 11:39:34 UTC (rev 162007)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=2
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# Empty package in new GHC
+sed -i '/nats/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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 162006, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-02-17 11:39:34 UTC 
(rev 162007)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
162006, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-17 11:39:34 UTC (rev 162007)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=2
+pkgdesc="Compatibility layer for aeson"
+

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

2016-02-10 Thread Felix Yan
Date: Thursday, February 11, 2016 @ 07:39:42
  Author: fyan
Revision: 161122

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 161121, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 161121, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 161121, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 161121, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   49 
 community-staging-i686/haskell-aeson-compat.install   |   18 +
 community-staging-x86_64/PKGBUILD |   49 
 community-staging-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 134 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
161121, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-11 06:39:42 UTC (rev 161122)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=1
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" 
"haskell-exceptions" "haskell-hashable"
+ "haskell-scientific" "haskell-text" "haskell-time-locale-compat" 
"haskell-unordered-containers"
+ "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('9275040d031433eb0006bce8228a0828e058d547c7d07d61ab0b22154286d736')
+
+prepare() {
+# Empty package in new GHC
+sed -i '/nats/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
+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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 161121, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-02-11 06:39:42 UTC 
(rev 161122)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
161121, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-11 06:39:42 UTC (rev 161122)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.1.0
+pkgrel=1
+pkgdesc="Compatibility layer for aeson"
+u

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

2016-01-19 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 04:53:53
  Author: fyan
Revision: 157841

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 157840, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 157840, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 157840, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 157840, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-aeson-compat.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-aeson-compat.install |   18 ++
 4 files changed, 124 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
157840, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-20 03:53:53 UTC (rev 157841)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=7
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-text"
+ "haskell-unordered-containers" "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('697b2f86628bd6665db153b84ef40c699d372b4b429a7c4ef28719313b9c97ef')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 157840, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-01-20 03:53:53 UTC 
(rev 157841)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
157840, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-20 03:53:53 UTC (rev 157841)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=7
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" 

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

2016-01-17 Thread Felix Yan
Date: Monday, January 18, 2016 @ 04:16:09
  Author: fyan
Revision: 157330

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 157329, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 157329, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 157329, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 157329, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-aeson-compat.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-aeson-compat.install |   18 ++
 4 files changed, 124 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
157329, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-18 03:16:09 UTC (rev 157330)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=6
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-text"
+ "haskell-unordered-containers" "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('697b2f86628bd6665db153b84ef40c699d372b4b429a7c4ef28719313b9c97ef')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 157329, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-01-18 03:16:09 UTC 
(rev 157330)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
157329, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-18 03:16:09 UTC (rev 157330)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=6
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "ha

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

2016-01-17 Thread Felix Yan
Date: Sunday, January 17, 2016 @ 12:49:15
  Author: fyan
Revision: 157090

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 157089, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 157089, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 157089, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 157089, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-aeson-compat.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-aeson-compat.install |   18 ++
 4 files changed, 124 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
157089, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-17 11:49:15 UTC (rev 157090)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=5
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-text"
+ "haskell-unordered-containers" "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('697b2f86628bd6665db153b84ef40c699d372b4b429a7c4ef28719313b9c97ef')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 157089, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-01-17 11:49:15 UTC 
(rev 157090)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
157089, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-17 11:49:15 UTC (rev 157090)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=5
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "ha

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

2016-01-15 Thread Felix Yan
Date: Saturday, January 16, 2016 @ 03:40:52
  Author: fyan
Revision: 156789

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 156788, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 156788, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 156788, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 156788, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-aeson-compat.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-aeson-compat.install |   18 ++
 4 files changed, 124 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
156788, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-16 02:40:52 UTC (rev 156789)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=4
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-text"
+ "haskell-unordered-containers" "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('697b2f86628bd6665db153b84ef40c699d372b4b429a7c4ef28719313b9c97ef')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 156788, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-01-16 02:40:52 UTC 
(rev 156789)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
156788, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-16 02:40:52 UTC (rev 156789)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=4
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "

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

2016-01-14 Thread Felix Yan
Date: Friday, January 15, 2016 @ 08:35:24
  Author: fyan
Revision: 156551

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 156550, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 156550, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 156550, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 156550, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-aeson-compat.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-aeson-compat.install |   18 ++
 4 files changed, 124 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
156550, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-15 07:35:24 UTC (rev 156551)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=3
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-text"
+ "haskell-unordered-containers" "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('697b2f86628bd6665db153b84ef40c699d372b4b429a7c4ef28719313b9c97ef')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 156550, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-01-15 07:35:24 UTC 
(rev 156551)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
156550, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-15 07:35:24 UTC (rev 156551)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=3
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "ha

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

2016-01-04 Thread Felix Yan
Date: Monday, January 4, 2016 @ 10:07:19
  Author: fyan
Revision: 155308

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

Added:
  haskell-aeson-compat/repos/community-staging-i686/
  haskell-aeson-compat/repos/community-staging-i686/PKGBUILD
(from rev 155307, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install
(from rev 155307, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-staging-x86_64/
  haskell-aeson-compat/repos/community-staging-x86_64/PKGBUILD
(from rev 155307, haskell-aeson-compat/trunk/PKGBUILD)
  
haskell-aeson-compat/repos/community-staging-x86_64/haskell-aeson-compat.install
(from rev 155307, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-staging-i686/PKGBUILD   |   44 
 community-staging-i686/haskell-aeson-compat.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   44 
 community-staging-x86_64/haskell-aeson-compat.install |   18 ++
 4 files changed, 124 insertions(+)

Copied: haskell-aeson-compat/repos/community-staging-i686/PKGBUILD (from rev 
155307, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-04 09:07:19 UTC (rev 155308)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=2
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-text"
+ "haskell-unordered-containers" "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('697b2f86628bd6665db153b84ef40c699d372b4b429a7c4ef28719313b9c97ef')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*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-aeson-compat/repos/community-staging-i686/haskell-aeson-compat.install 
(from rev 155307, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-staging-i686/haskell-aeson-compat.install 
(rev 0)
+++ community-staging-i686/haskell-aeson-compat.install 2016-01-04 09:07:19 UTC 
(rev 155308)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-staging-x86_64/PKGBUILD (from rev 
155307, haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-04 09:07:19 UTC (rev 155308)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=2
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "has

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

2015-12-25 Thread Felix Yan
Date: Saturday, December 26, 2015 @ 03:15:21
  Author: fyan
Revision: 154542

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

Added:
  haskell-aeson-compat/repos/community-i686/
  haskell-aeson-compat/repos/community-i686/PKGBUILD
(from rev 154541, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-i686/haskell-aeson-compat.install
(from rev 154541, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
  haskell-aeson-compat/repos/community-x86_64/
  haskell-aeson-compat/repos/community-x86_64/PKGBUILD
(from rev 154541, haskell-aeson-compat/trunk/PKGBUILD)
  haskell-aeson-compat/repos/community-x86_64/haskell-aeson-compat.install
(from rev 154541, haskell-aeson-compat/trunk/haskell-aeson-compat.install)

---+
 community-i686/PKGBUILD   |   44 
 community-i686/haskell-aeson-compat.install   |   18 +
 community-x86_64/PKGBUILD |   44 
 community-x86_64/haskell-aeson-compat.install |   18 +
 4 files changed, 124 insertions(+)

Copied: haskell-aeson-compat/repos/community-i686/PKGBUILD (from rev 154541, 
haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-12-26 02:15:21 UTC (rev 154542)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=1
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-text"
+ "haskell-unordered-containers" "haskell-vector")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+install="${pkgname}.install"
+sha256sums=('697b2f86628bd6665db153b84ef40c699d372b4b429a7c4ef28719313b9c97ef')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*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-aeson-compat/repos/community-i686/haskell-aeson-compat.install 
(from rev 154541, haskell-aeson-compat/trunk/haskell-aeson-compat.install)
===
--- community-i686/haskell-aeson-compat.install (rev 0)
+++ community-i686/haskell-aeson-compat.install 2015-12-26 02:15:21 UTC (rev 
154542)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-aeson-compat
+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-aeson-compat/repos/community-x86_64/PKGBUILD (from rev 154541, 
haskell-aeson-compat/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2015-12-26 02:15:21 UTC (rev 154542)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=aeson-compat
+pkgname=haskell-aeson-compat
+pkgver=0.3.0.0
+pkgrel=1
+pkgdesc="Compatibility layer for aeson"
+url="http://hackage.haskell.org/package/${_hkgname}";
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-aeson" "haskell-attoparsec" "haskell-exceptions"
+ "haskell-hashable" "haskell-scientific" "haskell-text"
+ "haskell-unordered-containers" "haskell-vector")
+option