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

2015-12-10 Thread Evangelos Foutras
Date: Thursday, December 10, 2015 @ 18:49:07
  Author: foutrelis
Revision: 152484

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 152483, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 152483, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 152483, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 152483, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   49 +
 community-staging-i686/haddock.install   |   25 ++
 community-staging-x86_64/PKGBUILD|   49 +
 community-staging-x86_64/haddock.install |   25 ++
 4 files changed, 148 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 152483, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-10 17:49:07 UTC (rev 152484)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander Rødseth 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=haddock
+pkgver=2.16.1
+pkgrel=5
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.10.3' 'haskell-ghc-paths' 'haskell-haddock-api')
+install="$pkgname.install"
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('0a0fa6abfecd1f3094b66f99e91a9aed72ffd11d3038a1e0ae6fec1db849cba9')
+sha256sums=('46ecd130cb5ad2b5c7452c843f9b75e976f1416d1cf17e6436d65c2c0bdbd6d6')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  runhaskell Setup configure -O -p --enable-split-objs --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 "$pkgname-$pkgver"
+
+#  install -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -Dm744 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/$pkgname"
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+  mv "$pkgdir/usr/bin/haddock" "$pkgdir/usr/bin/haddock-cabal"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 152483, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2015-12-10 17:49:07 UTC (rev 
152484)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+#  ${HS_DIR}/register.sh &> /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh &> /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 152483, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-10 17:49:07 UTC (rev 152484)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander Rødseth 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=haddock
+pkgver=2.16.1
+pkgrel=5
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.10.3' 'haskell-ghc-paths' 'haskell-haddock-api')
+install="$pkgname.install"
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)

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

2015-10-06 Thread Allan McRae
Date: Wednesday, October 7, 2015 @ 03:42:54
  Author: allan
Revision: 143175

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 143174, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 143174, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 143174, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 143174, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   49 +
 community-staging-i686/haddock.install   |   25 ++
 community-staging-x86_64/PKGBUILD|   49 +
 community-staging-x86_64/haddock.install |   25 ++
 4 files changed, 148 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 143174, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-10-07 01:42:54 UTC (rev 143175)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander Rødseth 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=haddock
+pkgver=2.16.1
+pkgrel=3
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.10.2' 'haskell-ghc-paths' 'haskell-haddock-api')
+install="$pkgname.install"
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('0a0fa6abfecd1f3094b66f99e91a9aed72ffd11d3038a1e0ae6fec1db849cba9')
+sha256sums=('46ecd130cb5ad2b5c7452c843f9b75e976f1416d1cf17e6436d65c2c0bdbd6d6')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  runhaskell Setup configure -O -p --enable-split-objs --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 "$pkgname-$pkgver"
+
+#  install -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -Dm744 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/$pkgname"
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+  mv "$pkgdir/usr/bin/haddock" "$pkgdir/usr/bin/haddock-cabal"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 143174, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2015-10-07 01:42:54 UTC (rev 
143175)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+#  ${HS_DIR}/register.sh &> /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh &> /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 143174, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-10-07 01:42:54 UTC (rev 143175)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander Rødseth 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=haddock
+pkgver=2.16.1
+pkgrel=3
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.10.2' 'haskell-ghc-paths' 'haskell-haddock-api')
+install="$pkgname.install"
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)

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

2015-09-10 Thread Evangelos Foutras
Date: Friday, September 11, 2015 @ 00:05:14
  Author: foutrelis
Revision: 139893

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 139892, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 139892, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 139892, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 139892, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   49 +
 community-staging-i686/haddock.install   |   25 ++
 community-staging-x86_64/PKGBUILD|   49 +
 community-staging-x86_64/haddock.install |   25 ++
 4 files changed, 148 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 139892, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-10 22:05:14 UTC (rev 139893)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander Rødseth 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=haddock
+pkgver=2.16.1
+pkgrel=2
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.10.1' 'haskell-ghc-paths' 'haskell-haddock-api')
+install="$pkgname.install"
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('0a0fa6abfecd1f3094b66f99e91a9aed72ffd11d3038a1e0ae6fec1db849cba9')
+sha256sums=('46ecd130cb5ad2b5c7452c843f9b75e976f1416d1cf17e6436d65c2c0bdbd6d6')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  runhaskell Setup configure -O -p --enable-split-objs --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 "$pkgname-$pkgver"
+
+#  install -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh"
+  install -Dm744 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/$pkgname"
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE"
+  mv "$pkgdir/usr/bin/haddock" "$pkgdir/usr/bin/haddock-cabal"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 139892, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2015-09-10 22:05:14 UTC (rev 
139893)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+#  ${HS_DIR}/register.sh &> /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh &> /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 139892, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-09-10 22:05:14 UTC (rev 139893)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Alexander Rødseth 
+# Contributor: Vesa Kaihlavirta 
+# Contributor: Arch Haskell Team 
+
+pkgname=haddock
+pkgver=2.16.1
+pkgrel=2
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.10.1' 'haskell-ghc-paths' 'haskell-haddock-api')
+install="$pkgname.install"
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)

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

2015-03-31 Thread Jelle van der Waa
Date: Tuesday, March 31, 2015 @ 19:47:34
  Author: jelle
Revision: 130423

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 130422, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 130422, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 130422, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 130422, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   48 +
 community-staging-i686/haddock.install   |   25 +++
 community-staging-x86_64/PKGBUILD|   48 +
 community-staging-x86_64/haddock.install |   25 +++
 4 files changed, 146 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 130422, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-03-31 17:47:34 UTC (rev 130423)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.16.0
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.10.1' 'haskell-ghc-paths' 'haskell-haddock-api')
+install=$pkgname.install
+options=('staticlibs')
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('0a0fa6abfecd1f3094b66f99e91a9aed72ffd11d3038a1e0ae6fec1db849cba9')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --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 $pkgname-$pkgver
+
+#  install -Dm744 register.sh $pkgdir/usr/share/haskell/$pkgname/register.sh
+  install -Dm744 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/$pkgname
+  runhaskell Setup copy --destdir=$pkgdir
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 130422, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2015-03-31 17:47:34 UTC (rev 
130423)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+#  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 130422, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-03-31 17:47:34 UTC (rev 130423)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.16.0
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.10.1' 'haskell-ghc-paths' 'haskell-haddock-api')
+install=$pkgname.install
+options=('staticlibs')
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('0a0fa6abfecd1f3094b66f99e91a9aed72ffd11d3038a1e0ae6fec1db849cba9')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --enable-shared 

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

2014-12-30 Thread Sergej Pupykin
Date: Tuesday, December 30, 2014 @ 23:46:04
  Author: spupykin
Revision: 125046

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 125045, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 125045, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 125045, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 125045, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   62 +
 community-staging-i686/haddock.install   |   25 +++
 community-staging-x86_64/PKGBUILD|   62 +
 community-staging-x86_64/haddock.install |   25 +++
 4 files changed, 174 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 125045, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-12-30 22:46:04 UTC (rev 125046)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.15.0.1
+pkgrel=2
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc' 'haskell-ghc-paths' 'haskell-haddock-api')
+install=$pkgname.install
+options=('staticlibs')
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('b7b9e357060e99a68996aca3e3921b2e99bcb5a7669bf7cbad33bac91486705f')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --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
+}
+
+_update_deps() {
+_ver=`pacman -Q $1 | cut -f2 -d\  | cut -f1 -d-`
+for i in `seq 0 $(expr ${#depends[@]} - 1)`; do
+if [ ${depends[$i]} == $1 ]; then
+depends[$i]=$1=${_ver}
+fi
+done
+}
+
+
+package() {
+  cd $pkgname-$pkgver
+
+  _update_deps ghc
+  _update_deps haskell-ghc-paths
+  _update_deps haskell-haddock-api
+
+#  install -Dm744 register.sh $pkgdir/usr/share/haskell/$pkgname/register.sh
+  install -Dm744 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/$pkgname
+  runhaskell Setup copy --destdir=$pkgdir
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 125045, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2014-12-30 22:46:04 UTC (rev 
125046)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+#  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 125045, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-12-30 22:46:04 UTC (rev 125046)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.15.0.1
+pkgrel=2
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc' 'haskell-ghc-paths' 'haskell-haddock-api')

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

2014-07-17 Thread Thomas Dziedzic
Date: Friday, July 18, 2014 @ 03:37:55
  Author: td123
Revision: 115842

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 115841, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 115841, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 115841, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 115841, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   48 +
 community-staging-i686/haddock.install   |   25 +++
 community-staging-x86_64/PKGBUILD|   48 +
 community-staging-x86_64/haddock.install |   25 +++
 4 files changed, 146 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 115841, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-07-18 01:37:55 UTC (rev 115842)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.3
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --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 $pkgname-$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/$pkgname
+  runhaskell Setup copy --destdir=$pkgdir
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 115841, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2014-07-18 01:37:55 UTC (rev 
115842)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 115841, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-07-18 01:37:55 UTC (rev 115842)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.3
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+--prefix=/usr 

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

2014-07-17 Thread Thomas Dziedzic
Date: Friday, July 18, 2014 @ 03:35:35
  Author: td123
Revision: 115841

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

Added:
  haddock/repos/staging-i686/
  haddock/repos/staging-i686/PKGBUILD
(from rev 115840, haddock/trunk/PKGBUILD)
  haddock/repos/staging-i686/haddock.install
(from rev 115840, haddock/trunk/haddock.install)
  haddock/repos/staging-x86_64/
  haddock/repos/staging-x86_64/PKGBUILD
(from rev 115840, haddock/trunk/PKGBUILD)
  haddock/repos/staging-x86_64/haddock.install
(from rev 115840, haddock/trunk/haddock.install)

+
 staging-i686/PKGBUILD  |   48 +++
 staging-i686/haddock.install   |   25 
 staging-x86_64/PKGBUILD|   48 +++
 staging-x86_64/haddock.install |   25 
 4 files changed, 146 insertions(+)

Copied: haddock/repos/staging-i686/PKGBUILD (from rev 115840, 
haddock/trunk/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2014-07-18 01:35:35 UTC (rev 115841)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.3
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --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 $pkgname-$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/$pkgname
+  runhaskell Setup copy --destdir=$pkgdir
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/staging-i686/haddock.install (from rev 115840, 
haddock/trunk/haddock.install)
===
--- staging-i686/haddock.install(rev 0)
+++ staging-i686/haddock.install2014-07-18 01:35:35 UTC (rev 115841)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/staging-x86_64/PKGBUILD (from rev 115840, 
haddock/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-07-18 01:35:35 UTC (rev 115841)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.3
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.8.3-2' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('d454f64ed0ea79ec9a94d4d79c8635be74d752d028b737dbe3b5deb9749e310c')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --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 

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

2014-04-21 Thread Alexander Rødseth
Date: Monday, April 21, 2014 @ 23:04:57
  Author: arodseth
Revision: 109940

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 109939, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 109939, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 109939, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 109939, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   48 +
 community-staging-i686/haddock.install   |   25 +++
 community-staging-x86_64/PKGBUILD|   48 +
 community-staging-x86_64/haddock.install |   25 +++
 4 files changed, 146 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 109939, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-04-21 21:04:57 UTC (rev 109940)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.2
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc' 'haskell-xhtml' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('33df230cd8baeed87caa31fc13257a921778b6b700c78bd9237024e08d942641')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --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 $pkgname-$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/$pkgname
+  runhaskell Setup copy --destdir=$pkgdir
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 109939, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2014-04-21 21:04:57 UTC (rev 
109940)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 109939, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-04-21 21:04:57 UTC (rev 109940)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.14.2
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc' 'haskell-xhtml' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('33df230cd8baeed87caa31fc13257a921778b6b700c78bd9237024e08d942641')
+options=('staticlibs')
+
+build() {
+  cd $pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+--prefix=/usr 

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

2013-04-25 Thread Jelle van der Waa
Date: Thursday, April 25, 2013 @ 14:52:08
  Author: jelle
Revision: 89005

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 89004, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 89004, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 89004, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 89004, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   47 +
 community-staging-i686/haddock.install   |   25 +++
 community-staging-x86_64/PKGBUILD|   47 +
 community-staging-x86_64/haddock.install |   25 +++
 4 files changed, 144 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 89004, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-04-25 12:52:08 UTC (rev 89005)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.13.1
+pkgrel=4
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.6.3-1' 'haskell-xhtml=3000.2.1' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --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/$pkgname-$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/$pkgname
+  runhaskell Setup copy --destdir=$pkgdir
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 89004, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2013-04-25 12:52:08 UTC (rev 
89005)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 89004, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-04-25 12:52:08 UTC (rev 89005)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.13.1
+pkgrel=4
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.6.3-1' 'haskell-xhtml=3000.2.1' 'haskell-ghc-paths')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+--prefix=/usr 

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

2013-02-03 Thread Alexander Rødseth
Date: Sunday, February 3, 2013 @ 23:48:53
  Author: arodseth
Revision: 83610

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

Added:
  haddock/repos/community-staging-i686/
  haddock/repos/community-staging-i686/PKGBUILD
(from rev 83609, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-i686/haddock.install
(from rev 83609, haddock/trunk/haddock.install)
  haddock/repos/community-staging-x86_64/
  haddock/repos/community-staging-x86_64/PKGBUILD
(from rev 83609, haddock/trunk/PKGBUILD)
  haddock/repos/community-staging-x86_64/haddock.install
(from rev 83609, haddock/trunk/haddock.install)

--+
 community-staging-i686/PKGBUILD  |   47 +
 community-staging-i686/haddock.install   |   25 +++
 community-staging-x86_64/PKGBUILD|   47 +
 community-staging-x86_64/haddock.install |   25 +++
 4 files changed, 144 insertions(+)

Copied: haddock/repos/community-staging-i686/PKGBUILD (from rev 83609, 
haddock/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-02-03 22:48:53 UTC (rev 83610)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.13.1
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.6.2-1' 'haskell-xhtml=3000.2.1' 'haskell-ghc-paths=0.1.0.8')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --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/$pkgname-$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/$pkgname
+  runhaskell Setup copy --destdir=$pkgdir
+  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  rm -f $pkgdir/usr/share/doc/$pkgname/LICENSE
+  mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-i686/haddock.install (from rev 83609, 
haddock/trunk/haddock.install)
===
--- community-staging-i686/haddock.install  (rev 0)
+++ community-staging-i686/haddock.install  2013-02-03 22:48:53 UTC (rev 
83610)
@@ -0,0 +1,25 @@
+pkgname=haddock
+HS_DIR=usr/share/haskell/haddock
+
+post_upgrade() {
+  ${HS_DIR}/register.sh  /dev/null
+  post_remove
+}
+
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)  /dev/null
+}
+
+pre_remove() {
+  ${HS_DIR}/unregister.sh  /dev/null
+}
+
+post_install() {
+   post_upgrade
+}
+
+pre_upgrade() {
+   pre_remove
+}
+
+# vim:set ts=2 sw=2 et:

Copied: haddock/repos/community-staging-x86_64/PKGBUILD (from rev 83609, 
haddock/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-02-03 22:48:53 UTC (rev 83610)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Alexander Rødseth rods...@gmail.com
+# Contributor: Vesa Kaihlavirta v...@archlinux.org
+# Contributor: Arch Haskell Team arch-hask...@haskell.org
+
+pkgname=haddock
+pkgver=2.13.1
+pkgrel=1
+pkgdesc='Tool for generating documentation for Haskell libraries'
+url='http://hackage.haskell.org/package/haddock/'
+license=('custom:BSD3')
+arch=('x86_64' 'i686')
+makedepends=('alex' 'happy')
+depends=('ghc=7.6.2-1' 'haskell-xhtml=3000.2.1' 'haskell-ghc-paths=0.1.0.8')
+install=$pkgname.install
+source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz;)
+sha256sums=('6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  runhaskell Setup configure -O -p --enable-split-objs --enable-shared \
+