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

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 17:36:39
  Author: felixonmars
Revision: 260265

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

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

---+
 /PKGBUILD |   78 
 community-i686/PKGBUILD   |   42 ---
 community-x86_64/PKGBUILD |   42 ---
 3 files changed, 78 insertions(+), 84 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-09-23 17:36:01 UTC (rev 260264)
+++ community-i686/PKGBUILD 2017-09-23 17:36:39 UTC (rev 260265)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=EdisonAPI
-pkgname=haskell-edisonapi
-pkgver=1.3.1
-pkgrel=3
-pkgdesc="A library of efficient, purely-functional data structures (API)"
-url="http://rwd.rdockins.name/edison/home/;
-license=("MIT")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' "haskell-mtl")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha256sums=('95a3b8d01599520a50456219b5a2e9f7832bcddaaeb8e94ce777bd87a4a6b56e')
-
-build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
-
-# Remove static libs
-find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: haskell-edisonapi/repos/community-i686/PKGBUILD (from rev 260264, 
haskell-edisonapi/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-09-23 17:36:39 UTC (rev 260265)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3.1
+pkgrel=4
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-mtl")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('677161da64856421c834856ee2f5ef7f59880883433d5c5c4061f0ab2faa0cb39c4eb83061820b77dab852acc4cce5dc75740fe454b15dbc2e67e6e84510ce42')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+}

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2017-09-23 17:36:01 UTC (rev 260264)
+++ community-x86_64/PKGBUILD   2017-09-23 17:36:39 UTC (rev 260265)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 

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

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 07:48:54
  Author: felixonmars
Revision: 250672

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

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

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

Copied: haskell-edisonapi/repos/community-staging-i686/PKGBUILD (from rev 
250671, haskell-edisonapi/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-15 07:48:54 UTC (rev 250672)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3.1
+pkgrel=3
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-mtl")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('95a3b8d01599520a50456219b5a2e9f7832bcddaaeb8e94ce777bd87a4a6b56e')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-edisonapi/repos/community-staging-x86_64/PKGBUILD (from rev 
250671, haskell-edisonapi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-15 07:48:54 UTC (rev 250672)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3.1
+pkgrel=3
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-mtl")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('95a3b8d01599520a50456219b5a2e9f7832bcddaaeb8e94ce777bd87a4a6b56e')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}


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

2017-06-16 Thread Felix Yan
Date: Friday, June 16, 2017 @ 18:09:19
  Author: felixonmars
Revision: 237790

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

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

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

Copied: haskell-edisonapi/repos/community-staging-i686/PKGBUILD (from rev 
237789, haskell-edisonapi/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-16 18:09:19 UTC (rev 237790)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc" "haskell-mtl")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('95a3b8d01599520a50456219b5a2e9f7832bcddaaeb8e94ce777bd87a4a6b56e')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-edisonapi/repos/community-staging-x86_64/PKGBUILD (from rev 
237789, haskell-edisonapi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-16 18:09:19 UTC (rev 237790)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc" "haskell-mtl")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('95a3b8d01599520a50456219b5a2e9f7832bcddaaeb8e94ce777bd87a4a6b56e')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f 

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

2016-06-08 Thread Felix Yan
Date: Thursday, June 9, 2016 @ 05:12:45
  Author: fyan
Revision: 178752

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

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

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

Copied: haskell-edisonapi/repos/community-staging-i686/PKGBUILD (from rev 
178751, haskell-edisonapi/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-09 03:12:45 UTC (rev 178752)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-mtl")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('95a3b8d01599520a50456219b5a2e9f7832bcddaaeb8e94ce777bd87a4a6b56e')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+}

Copied: haskell-edisonapi/repos/community-staging-x86_64/PKGBUILD (from rev 
178751, haskell-edisonapi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-06-09 03:12:45 UTC (rev 178752)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-mtl")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('95a3b8d01599520a50456219b5a2e9f7832bcddaaeb8e94ce777bd87a4a6b56e')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+}


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

2016-05-25 Thread Felix Yan
Date: Wednesday, May 25, 2016 @ 11:57:43
  Author: fyan
Revision: 176799

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

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

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

Copied: haskell-edisonapi/repos/community-staging-i686/PKGBUILD (from rev 
176798, haskell-edisonapi/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-25 09:57:43 UTC (rev 176799)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3
+pkgrel=2
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-mtl")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('a369d5c9b412bafb16a023121a72470a6fed0116b3d6d143a03dd54cb854154f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+}

Copied: haskell-edisonapi/repos/community-staging-x86_64/PKGBUILD (from rev 
176798, haskell-edisonapi/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-25 09:57:43 UTC (rev 176799)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=EdisonAPI
+pkgname=haskell-edisonapi
+pkgver=1.3
+pkgrel=2
+pkgdesc="A library of efficient, purely-functional data structures (API)"
+url="http://rwd.rdockins.name/edison/home/;
+license=("MIT")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-mtl")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('a369d5c9b412bafb16a023121a72470a6fed0116b3d6d143a03dd54cb854154f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "COPYRIGHT" 
"${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+}