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

2016-05-10 Thread Felix Yan
Date: Tuesday, May 10, 2016 @ 10:44:13
  Author: fyan
Revision: 174535

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 174534, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-10 08:44:13 UTC (rev 174535)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.14.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('372110971c5d0878d03529351e80690b')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 174534, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-05-10 08:44:13 UTC 
(rev 174535)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 174534, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-10 08:44:13 UTC (rev 174535)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.14.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-05-07 Thread Felix Yan
Date: Saturday, May 7, 2016 @ 13:54:38
  Author: fyan
Revision: 174081

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 174080, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-07 11:54:38 UTC (rev 174081)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.13.0
+pkgrel=3
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('809a5074cf4adff96bea0a383bd982f6')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 174080, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-05-07 11:54:38 UTC 
(rev 174081)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 174080, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-07 11:54:38 UTC (rev 174081)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.13.0
+pkgrel=3
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-05-02 Thread Felix Yan
Date: Monday, May 2, 2016 @ 17:22:38
  Author: fyan
Revision: 173392

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 173391, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-02 15:22:38 UTC (rev 173392)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.13.0
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('809a5074cf4adff96bea0a383bd982f6')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 173391, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-05-02 15:22:38 UTC 
(rev 173392)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 173391, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-02 15:22:38 UTC (rev 173392)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.13.0
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-04-30 Thread Felix Yan
Date: Saturday, April 30, 2016 @ 09:50:05
  Author: fyan
Revision: 173056

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 173055, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-30 07:50:05 UTC (rev 173056)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.13.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('809a5074cf4adff96bea0a383bd982f6')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 173055, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-04-30 07:50:05 UTC 
(rev 173056)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 173055, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-30 07:50:05 UTC (rev 173056)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.13.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)

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

2016-04-18 Thread Felix Yan
Date: Monday, April 18, 2016 @ 08:02:50
  Author: fyan
Revision: 171303

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 171302, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-18 06:02:50 UTC (rev 171303)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.12.0
+pkgrel=4
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('da2d5525381ac1405b7e9dfd4795cab7')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 171302, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-04-18 06:02:50 UTC 
(rev 171303)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 171302, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-18 06:02:50 UTC (rev 171303)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.12.0
+pkgrel=4
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-04-12 Thread Felix Yan
Date: Tuesday, April 12, 2016 @ 12:19:53
  Author: fyan
Revision: 170679

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 170678, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-12 10:19:53 UTC (rev 170679)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.12.0
+pkgrel=3
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('da2d5525381ac1405b7e9dfd4795cab7')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 170678, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-04-12 10:19:53 UTC 
(rev 170679)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 170678, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-12 10:19:53 UTC (rev 170679)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.12.0
+pkgrel=3
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-04-11 Thread Felix Yan
Date: Monday, April 11, 2016 @ 16:05:33
  Author: fyan
Revision: 170451

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 170450, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-11 14:05:33 UTC (rev 170451)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.12.0
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('da2d5525381ac1405b7e9dfd4795cab7')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 170450, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-04-11 14:05:33 UTC 
(rev 170451)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 170450, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-11 14:05:33 UTC (rev 170451)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.12.0
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-04-10 Thread Felix Yan
Date: Sunday, April 10, 2016 @ 14:34:06
  Author: fyan
Revision: 170074

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 170073, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-10 12:34:06 UTC (rev 170074)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.12.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('da2d5525381ac1405b7e9dfd4795cab7')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 170073, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-04-10 12:34:06 UTC 
(rev 170074)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 170073, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-04-10 12:34:06 UTC (rev 170074)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.12.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-03-24 Thread Felix Yan
Date: Thursday, March 24, 2016 @ 11:40:00
  Author: fyan
Revision: 168222

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 168221, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-24 10:40:00 UTC (rev 168222)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.2
+pkgrel=3
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('d563b95cebe5a2aa51f7ffcac2a049f6')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 168221, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-03-24 10:40:00 UTC 
(rev 168222)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 168221, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-24 10:40:00 UTC (rev 168222)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.2
+pkgrel=3
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)

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

2016-03-23 Thread Felix Yan
Date: Wednesday, March 23, 2016 @ 08:43:59
  Author: fyan
Revision: 168032

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 168031, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-23 07:43:59 UTC (rev 168032)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.2
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('d563b95cebe5a2aa51f7ffcac2a049f6')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 168031, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-03-23 07:43:59 UTC 
(rev 168032)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 168031, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-23 07:43:59 UTC (rev 168032)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.2
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)

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

2016-03-21 Thread Felix Yan
Date: Monday, March 21, 2016 @ 14:26:27
  Author: fyan
Revision: 167819

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 167818, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-21 13:26:27 UTC (rev 167819)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.2
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('d563b95cebe5a2aa51f7ffcac2a049f6')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 167818, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-03-21 13:26:27 UTC 
(rev 167819)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 167818, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-21 13:26:27 UTC (rev 167819)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.2
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-03-19 Thread Felix Yan
Date: Friday, March 18, 2016 @ 09:11:10
  Author: fyan
Revision: 167332

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 167331, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 08:11:10 UTC (rev 167332)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.0
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('6e8a5fd3937543e4152a71125596df23')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 167331, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-03-18 08:11:10 UTC 
(rev 167332)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 167331, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-18 08:11:10 UTC (rev 167332)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.0
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-03-14 Thread Felix Yan
Date: Monday, March 14, 2016 @ 08:46:22
  Author: fyan
Revision: 166641

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 166640, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-14 07:46:22 UTC (rev 166641)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('6e8a5fd3937543e4152a71125596df23')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 166640, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-03-14 07:46:22 UTC 
(rev 166641)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 166640, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-14 07:46:22 UTC (rev 166641)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-03-12 Thread Felix Yan
Date: Saturday, March 12, 2016 @ 14:46:30
  Author: fyan
Revision: 166382

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 166381, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-12 13:46:30 UTC (rev 166382)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.10.0
+pkgrel=4
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('cdc1dd2d91ecab764ac4d306d7015658')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 166381, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-03-12 13:46:30 UTC 
(rev 166382)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 166381, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-12 13:46:30 UTC (rev 166382)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.10.0
+pkgrel=4
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)

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

2016-03-04 Thread Felix Yan
Date: Friday, March 4, 2016 @ 11:53:35
  Author: fyan
Revision: 164710

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 164709, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-04 10:53:35 UTC (rev 164710)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.10.0
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('cdc1dd2d91ecab764ac4d306d7015658')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 164709, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-03-04 10:53:35 UTC 
(rev 164710)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 164709, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-04 10:53:35 UTC (rev 164710)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.10.0
+pkgrel=2
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-03-02 Thread Felix Yan
Date: Thursday, March 3, 2016 @ 06:20:42
  Author: fyan
Revision: 164282

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 164281, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-03 05:20:42 UTC (rev 164282)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('cdc1dd2d91ecab764ac4d306d7015658')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 164281, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-03-03 05:20:42 UTC 
(rev 164282)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 164281, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-03 05:20:42 UTC (rev 164282)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')

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

2016-02-20 Thread Felix Yan
Date: Saturday, February 20, 2016 @ 18:30:39
  Author: fyan
Revision: 162861

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

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

+
 community-staging-i686/PKGBUILD|   43 +++
 community-staging-i686/haskell-hpack.install   |   23 
 community-staging-x86_64/PKGBUILD  |   43 +++
 community-staging-x86_64/haskell-hpack.install |   23 
 4 files changed, 132 insertions(+)

Copied: haskell-hpack/repos/community-staging-i686/PKGBUILD (from rev 162860, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-20 17:30:39 UTC (rev 162861)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)
+options=('staticlibs')
+install=$pkgname.install
+md5sums=('9578166fea8804b7e8305a8c32677858')
+
+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
+  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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -m744 unregister.sh 
"$pkgdir/usr/share/haskell/$pkgname/unregister.sh"
+  install -dm755 "$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-hpack/repos/community-staging-i686/haskell-hpack.install (from 
rev 162860, haskell-hpack/trunk/haskell-hpack.install)
===
--- community-staging-i686/haskell-hpack.install
(rev 0)
+++ community-staging-i686/haskell-hpack.install2016-02-20 17:30:39 UTC 
(rev 162861)
@@ -0,0 +1,23 @@
+HS_DIR=usr/share/haskell/haskell-hpack
+
+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-hpack/repos/community-staging-x86_64/PKGBUILD (from rev 162860, 
haskell-hpack/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-20 17:30:39 UTC (rev 162861)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+# Contributor: Daniel Micay 
+
+pkgname=haskell-hpack
+_hkgname=hpack
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="An alternative format for Haskell packages"
+url="https://github.com/sol/hpack#readme;
+license=("MIT")
+arch=('i686' 'x86_64')
+makedepends=('ghc')
+depends=("ghc=7.10.3" 'haskell-aeson' 'haskell-base-compat' 'haskell-glob' 
'haskell-text'
+ 'haskell-unordered-containers' 'haskell-yaml')
+source=("http://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz;)