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

2016-04-28 Thread Felix Yan
Date: Friday, April 29, 2016 @ 05:01:40
  Author: fyan
Revision: 172503

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

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

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-i686/haskell-distributive.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   43 
 community-staging-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-staging-i686/PKGBUILD (from rev 
172502, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-29 03:01:40 UTC (rev 172503)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=8
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-tagged" 
"haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('f884996f491fe5b275b7dda2cebdadfecea0d7788a142546e0271e9575cc1609')
+
+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 \
+-ftagged
+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-distributive/repos/community-staging-i686/haskell-distributive.install 
(from rev 172502, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-staging-i686/haskell-distributive.install 
(rev 0)
+++ community-staging-i686/haskell-distributive.install 2016-04-29 03:01:40 UTC 
(rev 172503)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
172502, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-29 03:01:40 UTC (rev 172503)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=8
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')

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

2016-04-12 Thread Felix Yan
Date: Tuesday, April 12, 2016 @ 08:30:41
  Author: fyan
Revision: 170573

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

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

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-i686/haskell-distributive.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   43 
 community-staging-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-staging-i686/PKGBUILD (from rev 
170572, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-12 06:30:41 UTC (rev 170573)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=7
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-tagged" 
"haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('f884996f491fe5b275b7dda2cebdadfecea0d7788a142546e0271e9575cc1609')
+
+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 \
+-ftagged
+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-distributive/repos/community-staging-i686/haskell-distributive.install 
(from rev 170572, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-staging-i686/haskell-distributive.install 
(rev 0)
+++ community-staging-i686/haskell-distributive.install 2016-04-12 06:30:41 UTC 
(rev 170573)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
170572, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-12 06:30:41 UTC (rev 170573)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=7
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')

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

2016-03-01 Thread Felix Yan
Date: Wednesday, March 2, 2016 @ 05:30:45
  Author: fyan
Revision: 164037

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

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

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-i686/haskell-distributive.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   43 
 community-staging-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-staging-i686/PKGBUILD (from rev 
164036, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-02 04:30:45 UTC (rev 164037)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=6
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-tagged" 
"haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('f884996f491fe5b275b7dda2cebdadfecea0d7788a142546e0271e9575cc1609')
+
+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 \
+-ftagged
+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-distributive/repos/community-staging-i686/haskell-distributive.install 
(from rev 164036, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-staging-i686/haskell-distributive.install 
(rev 0)
+++ community-staging-i686/haskell-distributive.install 2016-03-02 04:30:45 UTC 
(rev 164037)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
164036, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-02 04:30:45 UTC (rev 164037)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=6
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')

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

2016-02-28 Thread Felix Yan
Date: Monday, February 29, 2016 @ 03:53:47
  Author: fyan
Revision: 163700

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

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

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-i686/haskell-distributive.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   43 
 community-staging-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-staging-i686/PKGBUILD (from rev 
163699, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-29 02:53:47 UTC (rev 163700)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=5
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-tagged" 
"haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('f884996f491fe5b275b7dda2cebdadfecea0d7788a142546e0271e9575cc1609')
+
+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 \
+-ftagged
+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-distributive/repos/community-staging-i686/haskell-distributive.install 
(from rev 163699, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-staging-i686/haskell-distributive.install 
(rev 0)
+++ community-staging-i686/haskell-distributive.install 2016-02-29 02:53:47 UTC 
(rev 163700)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
163699, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-29 02:53:47 UTC (rev 163700)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=5
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')

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

2016-02-01 Thread Felix Yan
Date: Tuesday, February 2, 2016 @ 02:55:12
  Author: fyan
Revision: 159850

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

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

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-i686/haskell-distributive.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   43 
 community-staging-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-staging-i686/PKGBUILD (from rev 
159849, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-02 01:55:12 UTC (rev 159850)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=4
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-tagged" 
"haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('f884996f491fe5b275b7dda2cebdadfecea0d7788a142546e0271e9575cc1609')
+
+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 \
+-ftagged
+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-distributive/repos/community-staging-i686/haskell-distributive.install 
(from rev 159849, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-staging-i686/haskell-distributive.install 
(rev 0)
+++ community-staging-i686/haskell-distributive.install 2016-02-02 01:55:12 UTC 
(rev 159850)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
159849, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-02 01:55:12 UTC (rev 159850)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=4
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')

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

2016-01-26 Thread Felix Yan
Date: Wednesday, January 27, 2016 @ 03:43:56
  Author: fyan
Revision: 159010

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

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

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-i686/haskell-distributive.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   43 
 community-staging-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-staging-i686/PKGBUILD (from rev 
159009, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-27 02:43:56 UTC (rev 159010)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=3
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-tagged" 
"haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('f884996f491fe5b275b7dda2cebdadfecea0d7788a142546e0271e9575cc1609')
+
+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 \
+-ftagged
+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-distributive/repos/community-staging-i686/haskell-distributive.install 
(from rev 159009, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-staging-i686/haskell-distributive.install 
(rev 0)
+++ community-staging-i686/haskell-distributive.install 2016-01-27 02:43:56 UTC 
(rev 159010)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
159009, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-27 02:43:56 UTC (rev 159010)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=3
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')

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

2016-01-17 Thread Felix Yan
Date: Monday, January 18, 2016 @ 02:53:20
  Author: fyan
Revision: 157284

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

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

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-i686/haskell-distributive.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   43 
 community-staging-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-staging-i686/PKGBUILD (from rev 
157283, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-18 01:53:20 UTC (rev 157284)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=2
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-tagged" 
"haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('f884996f491fe5b275b7dda2cebdadfecea0d7788a142546e0271e9575cc1609')
+
+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 \
+-ftagged
+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-distributive/repos/community-staging-i686/haskell-distributive.install 
(from rev 157283, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-staging-i686/haskell-distributive.install 
(rev 0)
+++ community-staging-i686/haskell-distributive.install 2016-01-18 01:53:20 UTC 
(rev 157284)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
157283, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-18 01:53:20 UTC (rev 157284)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=2
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')

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

2016-01-16 Thread Felix Yan
Date: Sunday, January 17, 2016 @ 04:34:04
  Author: fyan
Revision: 157031

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

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

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-i686/haskell-distributive.install   |   18 ++
 community-staging-x86_64/PKGBUILD |   43 
 community-staging-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-staging-i686/PKGBUILD (from rev 
157030, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-17 03:34:04 UTC (rev 157031)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=1
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-base-orphans" "haskell-tagged" 
"haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('f884996f491fe5b275b7dda2cebdadfecea0d7788a142546e0271e9575cc1609')
+
+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 \
+-ftagged
+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-distributive/repos/community-staging-i686/haskell-distributive.install 
(from rev 157030, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-staging-i686/haskell-distributive.install 
(rev 0)
+++ community-staging-i686/haskell-distributive.install 2016-01-17 03:34:04 UTC 
(rev 157031)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-staging-x86_64/PKGBUILD (from rev 
157030, haskell-distributive/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-17 03:34:04 UTC (rev 157031)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.5.0.2
+pkgrel=1
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')

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

2015-12-30 Thread Felix Yan
Date: Wednesday, December 30, 2015 @ 11:03:33
  Author: fyan
Revision: 154987

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

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

---+
 community-i686/PKGBUILD   |   43 
 community-i686/haskell-distributive.install   |   18 ++
 community-x86_64/PKGBUILD |   43 
 community-x86_64/haskell-distributive.install |   18 ++
 4 files changed, 122 insertions(+)

Copied: haskell-distributive/repos/community-i686/PKGBUILD (from rev 154986, 
haskell-distributive/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-12-30 10:03:33 UTC (rev 154987)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.4.4
+pkgrel=1
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-tagged" "haskell-transformers-compat")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+install="${pkgname}.install"
+sha256sums=('82d1f53495fe9c25e4e974825666b4a6232af7452784e145cc04aeb365b25468')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-lib-werror
+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-distributive/repos/community-i686/haskell-distributive.install 
(from rev 154986, haskell-distributive/trunk/haskell-distributive.install)
===
--- community-i686/haskell-distributive.install (rev 0)
+++ community-i686/haskell-distributive.install 2015-12-30 10:03:33 UTC (rev 
154987)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-distributive
+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-distributive/repos/community-x86_64/PKGBUILD (from rev 154986, 
haskell-distributive/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2015-12-30 10:03:33 UTC (rev 154987)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=distributive
+pkgname=haskell-distributive
+pkgver=0.4.4
+pkgrel=1
+pkgdesc="Distributive functors -- Dual to Traversable"
+url="http://github.com/ekmett/distributive/;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=7.10.3" "haskell-tagged" "haskell-transformers-compat")
+options=('staticlibs')