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

2016-07-19 Thread Felix Yan
Date: Tuesday, July 19, 2016 @ 14:39:27
  Author: felixonmars
Revision: 183129

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 183128, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 183128, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 183128, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 183128, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 183128, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-07-19 14:39:27 UTC (rev 183129)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=13
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
183128, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-07-19 14:39:27 UTC (rev 183129)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return 

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

2016-07-04 Thread Felix Yan
Date: Monday, July 4, 2016 @ 07:20:13
  Author: felixonmars
Revision: 182083

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 182082, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 182082, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 182082, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 182082, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 182082, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-07-04 07:20:13 UTC (rev 182083)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=12
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
182082, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-07-04 07:20:13 UTC (rev 182083)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return 

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

2016-07-03 Thread Felix Yan
Date: Sunday, July 3, 2016 @ 15:16:59
  Author: felixonmars
Revision: 181850

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 181849, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 181849, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 181849, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 181849, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 181849, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-07-03 15:16:59 UTC (rev 181850)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=11
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
181849, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-07-03 15:16:59 UTC (rev 181850)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return 

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

2016-06-26 Thread Felix Yan
Date: Monday, June 27, 2016 @ 04:25:19
  Author: felixonmars
Revision: 181305

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 181304, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 181304, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 181304, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 181304, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 181304, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-27 04:25:19 UTC (rev 181305)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=10
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
181304, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-06-27 04:25:19 UTC (rev 181305)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return 

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

2016-06-24 Thread Felix Yan
Date: Saturday, June 25, 2016 @ 02:21:03
  Author: felixonmars
Revision: 181050

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 181049, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 181049, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 181049, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 181049, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 181049, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-25 02:21:03 UTC (rev 181050)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=9
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
181049, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-06-25 02:21:03 UTC (rev 181050)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return 

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

2016-06-20 Thread Felix Yan
Date: Tuesday, June 21, 2016 @ 03:40:12
  Author: felixonmars
Revision: 180623

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 180622, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 180622, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 180622, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 180622, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 180622, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-21 03:40:12 UTC (rev 180623)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=8
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
180622, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-06-21 03:40:12 UTC (rev 180623)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return 

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

2016-06-15 Thread Felix Yan
Date: Wednesday, June 15, 2016 @ 09:23:18
  Author: felixonmars
Revision: 180235

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 180234, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 180234, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 180234, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 180234, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 180234, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-15 09:23:18 UTC (rev 180235)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=7
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
180234, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-06-15 09:23:18 UTC (rev 180235)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return 

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

2016-06-14 Thread Felix Yan
Date: Tuesday, June 14, 2016 @ 14:03:42
  Author: felixonmars
Revision: 179971

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 179970, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 179970, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 179970, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 179970, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 179970, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-14 14:03:42 UTC (rev 179971)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=6
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
179970, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-06-14 14:03:42 UTC (rev 179971)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return 

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

2016-06-10 Thread Felix Yan
Date: Friday, June 10, 2016 @ 08:52:40
  Author: fyan
Revision: 179104

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 179103, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 179103, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 179103, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 179103, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 179103, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-10 06:52:40 UTC (rev 179104)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=5
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
179103, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-06-10 06:52:40 UTC (rev 179104)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return (params, 

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

2016-06-08 Thread Felix Yan
Date: Thursday, June 9, 2016 @ 05:42:22
  Author: fyan
Revision: 178758

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 178757, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 178757, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 178757, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 178757, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 178757, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-09 03:42:22 UTC (rev 178758)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=4
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
178757, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-06-09 03:42:22 UTC (rev 178758)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return (params, 

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

2016-06-08 Thread Felix Yan
Date: Wednesday, June 8, 2016 @ 10:04:46
  Author: fyan
Revision: 178190

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 178189, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/ghc8.patch
(from rev 178189, pandoc-crossref/trunk/ghc8.patch)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 178189, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/ghc8.patch
(from rev 178189, pandoc-crossref/trunk/ghc8.patch)

-+
 community-staging-i686/PKGBUILD |   61 ++
 community-staging-i686/ghc8.patch   |   24 +
 community-staging-x86_64/PKGBUILD   |   61 ++
 community-staging-x86_64/ghc8.patch |   24 +
 4 files changed, 170 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 178189, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-06-08 08:04:46 UTC (rev 178190)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=3
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+ghc8.patch)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471'
+'2a74124f1652d17da63e6cff5939b02633b0045929b175cc4570f7cadbc8cdc1')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.7/data-default >= 0.4 \&\& <0.8/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+(cd $pkgbase-$pkgver; patch -p1 -i ../ghc8.patch)
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: pandoc-crossref/repos/community-staging-i686/ghc8.patch (from rev 
178189, pandoc-crossref/trunk/ghc8.patch)
===
--- community-staging-i686/ghc8.patch   (rev 0)
+++ community-staging-i686/ghc8.patch   2016-06-08 08:04:46 UTC (rev 178190)
@@ -0,0 +1,24 @@
+diff --git a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs 
b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+index c0f5499..b899f10 100644
+--- a/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
 b/lib/Text/Pandoc/CrossRef/Util/Settings/Template.hs
+@@ -24,8 +24,8 @@ fromRecDef t cname f c = do
+   TyConI dec -> return dec
+   _ -> fail "No cons"
+   (_, cons) <- case reified of
+-   DataD _ _ params cons' _ -> return (params, cons')
+-   NewtypeD _ _ params con' _ -> return (params, [con'])
++   DataD _ _ params _ cons' _ -> return (params, 

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

2016-05-20 Thread Felix Yan
Date: Saturday, May 21, 2016 @ 07:23:11
  Author: fyan
Revision: 175992

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 175991, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 175991, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 175991, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 175991, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 175991, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-21 05:23:11 UTC (rev 175992)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 175991, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-05-21 
05:23:11 UTC (rev 175992)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
175991, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-05-19 Thread Felix Yan
Date: Friday, May 20, 2016 @ 06:20:42
  Author: fyan
Revision: 175752

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 175751, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 175751, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 175751, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 175751, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 175751, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-20 04:20:42 UTC (rev 175752)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.3
+pkgrel=1
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('d14b78972c48a722b7e53d12fb601e4379d5384f9a58c8ce46ab42b058125471')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 175751, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-05-20 
04:20:42 UTC (rev 175752)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
175751, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-05-13 Thread Felix Yan
Date: Friday, May 13, 2016 @ 08:50:00
  Author: fyan
Revision: 175120

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 175119, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 175119, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 175119, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 175119, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 175119, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-13 06:50:00 UTC (rev 175120)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.2
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('1410526eb891d20f0d16d6c970c3f7e8355b21c55fde56a1899a5d55828e593a')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 175119, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-05-13 
06:50:00 UTC (rev 175120)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
175119, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-05-10 Thread Felix Yan
Date: Tuesday, May 10, 2016 @ 17:59:21
  Author: fyan
Revision: 174576

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 174574, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 174574, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 174574, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 174574, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 174574, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-10 15:59:21 UTC (rev 174576)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.2
+pkgrel=1
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('1410526eb891d20f0d16d6c970c3f7e8355b21c55fde56a1899a5d55828e593a')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 174574, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-05-10 
15:59:21 UTC (rev 174576)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
174574, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-05-08 Thread Felix Yan
Date: Sunday, May 8, 2016 @ 17:18:55
  Author: fyan
Revision: 174346

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 174345, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 174345, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 174345, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 174345, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 174345, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-08 15:18:55 UTC (rev 174346)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.1
+pkgrel=4
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('4b90d228a8943e31ad7d2a1861b74bdb98af9422e3e675c209a012ca54e0deaa')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 174345, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-05-08 
15:18:55 UTC (rev 174346)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
174345, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-05-07 Thread Felix Yan
Date: Saturday, May 7, 2016 @ 15:24:26
  Author: fyan
Revision: 174105

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 174104, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 174104, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 174104, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 174104, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 174104, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-07 13:24:26 UTC (rev 174105)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.1
+pkgrel=3
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('4b90d228a8943e31ad7d2a1861b74bdb98af9422e3e675c209a012ca54e0deaa')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 174104, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-05-07 
13:24:26 UTC (rev 174105)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
174104, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-05-02 Thread Felix Yan
Date: Monday, May 2, 2016 @ 18:26:02
  Author: fyan
Revision: 173419

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 173418, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 173418, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 173418, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 173418, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 173418, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-02 16:26:02 UTC (rev 173419)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.1.1
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('4b90d228a8943e31ad7d2a1861b74bdb98af9422e3e675c209a012ca54e0deaa')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 173418, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-05-02 
16:26:02 UTC (rev 173419)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
173418, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-04-29 Thread Felix Yan
Date: Friday, April 29, 2016 @ 19:04:10
  Author: fyan
Revision: 172791

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 172790, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 172790, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 172790, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 172790, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   58 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   58 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 152 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 172790, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-29 17:04:10 UTC (rev 172791)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.1
+pkgrel=8
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('44bdbc38d8d7a743951a2333fb70b33a6497b2d50ccdb5696736fdc5133aef21')
+
+prepare() {
+sed -i 's/data-default >= 0.4 && <0.6/data-default >= 0.4 \&\& <0.7/' 
${pkgbase}-${pkgver}/${pkgbase}.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 172790, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-04-29 
17:04:10 UTC (rev 172791)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
172790, pandoc-crossref/trunk/PKGBUILD)

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

2016-04-11 Thread Felix Yan
Date: Monday, April 11, 2016 @ 18:11:45
  Author: fyan
Revision: 170481

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 170480, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 170480, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 170480, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 170480, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 170480, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-11 16:11:45 UTC (rev 170481)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.1
+pkgrel=7
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('44bdbc38d8d7a743951a2333fb70b33a6497b2d50ccdb5696736fdc5133aef21')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 170480, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-04-11 
16:11:45 UTC (rev 170481)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
170480, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-04-11 Thread Felix Yan
Date: Monday, April 11, 2016 @ 11:00:41
  Author: fyan
Revision: 170368

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 170367, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 170367, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 170367, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 170367, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 170367, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-11 09:00:41 UTC (rev 170368)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.1
+pkgrel=6
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('44bdbc38d8d7a743951a2333fb70b33a6497b2d50ccdb5696736fdc5133aef21')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 170367, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-04-11 
09:00:41 UTC (rev 170368)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
170367, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-04-10 Thread Felix Yan
Date: Sunday, April 10, 2016 @ 17:52:34
  Author: fyan
Revision: 170106

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 170105, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 170105, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 170105, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 170105, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 170105, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-10 15:52:34 UTC (rev 170106)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.1
+pkgrel=5
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('44bdbc38d8d7a743951a2333fb70b33a6497b2d50ccdb5696736fdc5133aef21')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 170105, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-04-10 
15:52:34 UTC (rev 170106)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
170105, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-31 Thread Felix Yan
Date: Thursday, March 31, 2016 @ 14:07:29
  Author: fyan
Revision: 169083

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 169082, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 169082, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 169082, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 169082, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 169082, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-31 12:07:29 UTC (rev 169083)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.1
+pkgrel=4
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('44bdbc38d8d7a743951a2333fb70b33a6497b2d50ccdb5696736fdc5133aef21')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 169082, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-31 
12:07:29 UTC (rev 169083)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
169082, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-29 Thread Felix Yan
Date: Tuesday, March 29, 2016 @ 09:50:04
  Author: fyan
Revision: 168765

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 168764, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 168764, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 168764, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 168764, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 168764, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-29 07:50:04 UTC (rev 168765)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.1
+pkgrel=3
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('44bdbc38d8d7a743951a2333fb70b33a6497b2d50ccdb5696736fdc5133aef21')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 168764, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-29 
07:50:04 UTC (rev 168765)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
168764, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-27 Thread Felix Yan
Date: Sunday, March 27, 2016 @ 17:20:20
  Author: fyan
Revision: 168554

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 168553, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 168553, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 168553, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 168553, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 168553, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-27 15:20:20 UTC (rev 168554)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.1
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('44bdbc38d8d7a743951a2333fb70b33a6497b2d50ccdb5696736fdc5133aef21')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 168553, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-27 
15:20:20 UTC (rev 168554)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
168553, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-25 Thread Felix Yan
Date: Friday, March 25, 2016 @ 09:04:06
  Author: fyan
Revision: 168338

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 168337, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 168337, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 168337, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 168337, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 168337, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-25 08:04:06 UTC (rev 168338)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.1
+pkgrel=1
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('44bdbc38d8d7a743951a2333fb70b33a6497b2d50ccdb5696736fdc5133aef21')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 168337, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-25 
08:04:06 UTC (rev 168338)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
168337, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-24 Thread Felix Yan
Date: Thursday, March 24, 2016 @ 17:48:06
  Author: fyan
Revision: 168261

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 168260, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 168260, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 168260, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 168260, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   59 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   59 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 +++
 4 files changed, 154 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 168260, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-24 16:48:06 UTC (rev 168261)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.0
+pkgrel=10
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('e7039ced02eaaec80f0814d1d242dd06002d76dc3bed784fd18e50ddec77e3bd')
+
+prepare() {
+sed -i 's/pandoc >= 1.16 && <1.17/pandoc >= 1.16 \&\& <1.18/' \
+${pkgbase}-${pkgver}/${pkgbase}.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 168260, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-24 
16:48:06 UTC (rev 168261)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
168260, pandoc-crossref/trunk/PKGBUILD)

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

2016-03-23 Thread Felix Yan
Date: Wednesday, March 23, 2016 @ 09:32:53
  Author: fyan
Revision: 168040

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 168039, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 168039, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 168039, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 168039, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   59 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   59 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 +++
 4 files changed, 154 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 168039, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-23 08:32:53 UTC (rev 168040)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.0
+pkgrel=9
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('e7039ced02eaaec80f0814d1d242dd06002d76dc3bed784fd18e50ddec77e3bd')
+
+prepare() {
+sed -i 's/pandoc >= 1.16 && <1.17/pandoc >= 1.16 \&\& <1.18/' \
+${pkgbase}-${pkgver}/${pkgbase}.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 168039, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-23 
08:32:53 UTC (rev 168040)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
168039, pandoc-crossref/trunk/PKGBUILD)

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

2016-03-22 Thread Felix Yan
Date: Tuesday, March 22, 2016 @ 10:44:57
  Author: fyan
Revision: 167888

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 167887, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 167887, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 167887, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 167887, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   59 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   59 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 +++
 4 files changed, 154 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 167887, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-22 09:44:57 UTC (rev 167888)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.0
+pkgrel=8
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('e7039ced02eaaec80f0814d1d242dd06002d76dc3bed784fd18e50ddec77e3bd')
+
+prepare() {
+sed -i 's/pandoc >= 1.16 && <1.17/pandoc >= 1.16 \&\& <1.18/' \
+${pkgbase}-${pkgver}/${pkgbase}.cabal
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 167887, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-22 
09:44:57 UTC (rev 167888)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
167887, pandoc-crossref/trunk/PKGBUILD)

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

2016-03-20 Thread Felix Yan
Date: Sunday, March 20, 2016 @ 16:13:51
  Author: fyan
Revision: 167719

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 167718, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 167718, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 167718, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 167718, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 167718, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-20 15:13:51 UTC (rev 167719)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.0
+pkgrel=7
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('e7039ced02eaaec80f0814d1d242dd06002d76dc3bed784fd18e50ddec77e3bd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 167718, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-20 
15:13:51 UTC (rev 167719)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
167718, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-19 Thread Felix Yan
Date: Thursday, March 17, 2016 @ 10:38:49
  Author: fyan
Revision: 166986

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 166985, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 166985, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 166985, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 166985, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 166985, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-17 09:38:49 UTC (rev 166986)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.0
+pkgrel=5
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('e7039ced02eaaec80f0814d1d242dd06002d76dc3bed784fd18e50ddec77e3bd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 166985, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-17 
09:38:49 UTC (rev 166986)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
166985, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

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

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 167370, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 167370, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 167370, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 167370, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 167370, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 09:08:09 UTC (rev 167371)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.0
+pkgrel=6
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('e7039ced02eaaec80f0814d1d242dd06002d76dc3bed784fd18e50ddec77e3bd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 167370, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-18 
09:08:09 UTC (rev 167371)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
167370, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-14 Thread Felix Yan
Date: Monday, March 14, 2016 @ 10:06:53
  Author: fyan
Revision: 166654

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 166653, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 166653, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 166653, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 166653, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 166653, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-14 09:06:53 UTC (rev 166654)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.0
+pkgrel=4
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('e7039ced02eaaec80f0814d1d242dd06002d76dc3bed784fd18e50ddec77e3bd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 166653, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-14 
09:06:53 UTC (rev 166654)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
166653, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-09 Thread Felix Yan
Date: Thursday, March 10, 2016 @ 07:31:15
  Author: fyan
Revision: 165805

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 165804, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 165804, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 165804, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 165804, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 165804, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-10 06:31:15 UTC (rev 165805)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.2.0.0
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor" 
"haskell-data-accessor-template"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-roman-numerals" "haskell-syb" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('e7039ced02eaaec80f0814d1d242dd06002d76dc3bed784fd18e50ddec77e3bd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 165804, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-10 
06:31:15 UTC (rev 165805)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
165804, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ 

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

2016-03-02 Thread Felix Yan
Date: Thursday, March 3, 2016 @ 07:10:44
  Author: fyan
Revision: 164294

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 164293, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 164293, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 164293, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 164293, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 164293, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-03 06:10:44 UTC (rev 164294)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=12
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 164293, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-03 
06:10:44 UTC (rev 164294)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
164293, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-03 06:10:44 UTC (rev 164294)

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

2016-03-01 Thread Felix Yan
Date: Tuesday, March 1, 2016 @ 14:00:28
  Author: fyan
Revision: 163904

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 163903, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 163903, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 163903, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 163903, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 163903, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-01 13:00:28 UTC (rev 163904)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=11
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 163903, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-03-01 
13:00:28 UTC (rev 163904)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
163903, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-03-01 13:00:28 UTC (rev 163904)

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

2016-02-24 Thread Felix Yan
Date: Thursday, February 25, 2016 @ 08:56:41
  Author: fyan
Revision: 163376

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 163375, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 163375, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 163375, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 163375, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 163375, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-25 07:56:41 UTC (rev 163376)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=10
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 163375, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-02-25 
07:56:41 UTC (rev 163376)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
163375, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-25 07:56:41 UTC (rev 

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

2016-02-21 Thread Felix Yan
Date: Sunday, February 21, 2016 @ 16:13:59
  Author: fyan
Revision: 163025

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 163024, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 163024, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 163024, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 163024, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 163024, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-21 15:13:59 UTC (rev 163025)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=9
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 163024, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-02-21 
15:13:59 UTC (rev 163025)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
163024, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-21 15:13:59 UTC (rev 

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

2016-02-17 Thread Felix Yan
Date: Thursday, February 18, 2016 @ 08:37:05
  Author: fyan
Revision: 162211

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 162210, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 162210, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 162210, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 162210, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 162210, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-18 07:37:05 UTC (rev 162211)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=8
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 162210, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-02-18 
07:37:05 UTC (rev 162211)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
162210, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-18 07:37:05 UTC (rev 

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

2016-02-15 Thread Felix Yan
Date: Tuesday, February 16, 2016 @ 04:45:53
  Author: fyan
Revision: 161788

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 161787, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 161787, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 161787, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 161787, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 161787, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-16 03:45:53 UTC (rev 161788)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=7
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 161787, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-02-16 
03:45:53 UTC (rev 161788)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
161787, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-16 03:45:53 UTC (rev 

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

2016-02-15 Thread Felix Yan
Date: Monday, February 15, 2016 @ 16:17:30
  Author: fyan
Revision: 161671

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 161670, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 161670, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 161670, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 161670, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 161670, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-15 15:17:30 UTC (rev 161671)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=6
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 161670, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-02-15 
15:17:30 UTC (rev 161671)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
161670, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-15 15:17:30 UTC (rev 

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

2016-02-11 Thread Felix Yan
Date: Thursday, February 11, 2016 @ 18:24:12
  Author: fyan
Revision: 161258

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 161257, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 161257, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 161257, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 161257, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 161257, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-11 17:24:12 UTC (rev 161258)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=5
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 161257, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-02-11 
17:24:12 UTC (rev 161258)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
161257, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-11 17:24:12 UTC (rev 

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

2016-02-08 Thread Felix Yan
Date: Monday, February 8, 2016 @ 17:40:28
  Author: fyan
Revision: 160930

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 160929, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 160929, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 160929, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 160929, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 160929, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-08 16:40:28 UTC (rev 160930)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=4
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 160929, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-02-08 
16:40:28 UTC (rev 160930)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
160929, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-08 16:40:28 UTC (rev 160930)

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

2016-02-04 Thread Felix Yan
Date: Thursday, February 4, 2016 @ 10:24:26
  Author: fyan
Revision: 160245

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 160244, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 160244, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 160244, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 160244, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 160244, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-04 09:24:26 UTC (rev 160245)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=3
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 160244, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-02-04 
09:24:26 UTC (rev 160245)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
160244, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-02-04 09:24:26 UTC (rev 

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

2016-01-30 Thread Felix Yan
Date: Saturday, January 30, 2016 @ 16:05:24
  Author: fyan
Revision: 159563

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 159562, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 159562, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 159562, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 159562, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 159562, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-30 15:05:24 UTC (rev 159563)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 159562, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-30 
15:05:24 UTC (rev 159563)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
159562, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-30 15:05:24 UTC (rev 

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

2016-01-27 Thread Felix Yan
Date: Wednesday, January 27, 2016 @ 13:59:04
  Author: fyan
Revision: 159164

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 159163, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 159163, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 159163, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 159163, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 159163, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-27 12:59:04 UTC (rev 159164)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.5
+pkgrel=1
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('6b92a2730ed28c0242b81e47c0e21902321f98eb2b580d2114d906ca89a451e2')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 159163, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-27 
12:59:04 UTC (rev 159164)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
159163, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-27 12:59:04 UTC (rev 

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

2016-01-26 Thread Felix Yan
Date: Tuesday, January 26, 2016 @ 10:27:40
  Author: fyan
Revision: 158933

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 158932, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 158932, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 158932, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 158932, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 158932, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-26 09:27:40 UTC (rev 158933)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.4
+pkgrel=3
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('8d3c5147f67f8bcc8a912a8b0daa8bb5d778c1af92df3cec5e167def276add9f')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 158932, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-26 
09:27:40 UTC (rev 158933)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
158932, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-26 09:27:40 UTC (rev 

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

2016-01-25 Thread Felix Yan
Date: Monday, January 25, 2016 @ 11:14:04
  Author: fyan
Revision: 158851

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 158850, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 158850, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 158850, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 158850, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   54 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   54 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 144 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 158850, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-25 10:14:04 UTC (rev 158851)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.4
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-data-accessor"
+ "haskell-data-accessor-transformers" "haskell-mtl" 
"haskell-pandoc"
+ "haskell-pandoc-types" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('8d3c5147f67f8bcc8a912a8b0daa8bb5d778c1af92df3cec5e167def276add9f')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 158850, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-25 
10:14:04 UTC (rev 158851)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
158850, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-25 10:14:04 UTC (rev 158851)

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

2016-01-22 Thread Felix Yan
Date: Saturday, January 23, 2016 @ 08:44:01
  Author: fyan
Revision: 158664

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 158663, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 158663, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 158663, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 158663, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 158663, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-23 07:44:01 UTC (rev 158664)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=12
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 158663, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-23 
07:44:01 UTC (rev 158664)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
158663, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-23 07:44:01 UTC (rev 158664)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-21 Thread Felix Yan
Date: Friday, January 22, 2016 @ 08:00:13
  Author: fyan
Revision: 158510

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 158509, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 158509, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 158509, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 158509, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 158509, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-22 07:00:13 UTC (rev 158510)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=11
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 158509, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-22 
07:00:13 UTC (rev 158510)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
158509, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-22 07:00:13 UTC (rev 158510)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-20 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 15:54:10
  Author: fyan
Revision: 158113

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 158112, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 158112, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 158112, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 158112, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 158112, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-20 14:54:10 UTC (rev 158113)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=10
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 158112, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-20 
14:54:10 UTC (rev 158113)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
158112, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-20 14:54:10 UTC (rev 158113)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-18 Thread Felix Yan
Date: Monday, January 18, 2016 @ 10:50:38
  Author: fyan
Revision: 157450

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 157449, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 157449, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 157449, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 157449, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 157449, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-18 09:50:38 UTC (rev 157450)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=8
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 157449, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-18 
09:50:38 UTC (rev 157450)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
157449, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-18 09:50:38 UTC (rev 157450)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-18 Thread Felix Yan
Date: Tuesday, January 19, 2016 @ 04:14:38
  Author: fyan
Revision: 157592

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 157591, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 157591, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 157591, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 157591, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 157591, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-19 03:14:38 UTC (rev 157592)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=9
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 157591, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-19 
03:14:38 UTC (rev 157592)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
157591, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-19 03:14:38 UTC (rev 157592)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-17 Thread Felix Yan
Date: Sunday, January 17, 2016 @ 16:37:18
  Author: fyan
Revision: 157182

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 157181, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 157181, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 157181, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 157181, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 157181, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-17 15:37:18 UTC (rev 157182)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=7
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 157181, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-17 
15:37:18 UTC (rev 157182)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
157181, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-17 15:37:18 UTC (rev 157182)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-15 Thread Felix Yan
Date: Saturday, January 16, 2016 @ 04:40:05
  Author: fyan
Revision: 156831

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 156830, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 156830, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 156830, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 156830, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 156830, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-16 03:40:05 UTC (rev 156831)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=6
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 156830, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-16 
03:40:05 UTC (rev 156831)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
156830, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-16 03:40:05 UTC (rev 156831)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-15 Thread Felix Yan
Date: Friday, January 15, 2016 @ 09:38:44
  Author: fyan
Revision: 156593

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 156592, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 156592, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 156592, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 156592, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 156592, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-15 08:38:44 UTC (rev 156593)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=5
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 156592, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-15 
08:38:44 UTC (rev 156593)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
156592, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-15 08:38:44 UTC (rev 156593)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-13 Thread Felix Yan
Date: Thursday, January 14, 2016 @ 08:36:59
  Author: fyan
Revision: 156393

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 156392, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 156392, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 156392, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 156392, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 156392, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-14 07:36:59 UTC (rev 156393)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=4
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 156392, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-14 
07:36:59 UTC (rev 156393)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
156392, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-14 07:36:59 UTC (rev 156393)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-12 Thread Felix Yan
Date: Wednesday, January 13, 2016 @ 05:01:28
  Author: fyan
Revision: 156263

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 156262, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 156262, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 156262, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 156262, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 156262, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-13 04:01:28 UTC (rev 156263)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=3
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 156262, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-13 
04:01:28 UTC (rev 156263)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
156262, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-13 04:01:28 UTC (rev 156263)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-10 Thread Felix Yan
Date: Monday, January 11, 2016 @ 04:46:33
  Author: fyan
Revision: 155926

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 155925, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 155925, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 155925, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 155925, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 155925, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-11 03:46:33 UTC (rev 155926)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.3
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('7ec41e6fa2acf6826889670e7636b209a6833872de3b65034891a402b7bd356b')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 155925, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-11 
03:46:33 UTC (rev 155926)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
155925, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-11 03:46:33 UTC (rev 155926)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-09 Thread Felix Yan
Date: Sunday, January 10, 2016 @ 05:57:26
  Author: fyan
Revision: 155840

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 155839, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 155839, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 155839, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 155839, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 155839, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-10 04:57:26 UTC (rev 155840)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.2
+pkgrel=5
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('5317de67d381210fda43dba79061c33abb64c5eb42707a2fa570c330a165bd57')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 155839, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-10 
04:57:26 UTC (rev 155840)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
155839, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-10 04:57:26 UTC (rev 155840)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-07 Thread Felix Yan
Date: Friday, January 8, 2016 @ 07:09:03
  Author: fyan
Revision: 155680

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 155679, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 155679, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 155679, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 155679, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 155679, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-08 06:09:03 UTC (rev 155680)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.2
+pkgrel=4
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('5317de67d381210fda43dba79061c33abb64c5eb42707a2fa570c330a165bd57')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 155679, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-08 
06:09:03 UTC (rev 155680)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
155679, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-08 06:09:03 UTC (rev 155680)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-05 Thread Felix Yan
Date: Wednesday, January 6, 2016 @ 06:23:30
  Author: fyan
Revision: 155563

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 155562, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 155562, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 155562, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 155562, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 155562, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-06 05:23:30 UTC (rev 155563)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.2
+pkgrel=3
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('5317de67d381210fda43dba79061c33abb64c5eb42707a2fa570c330a165bd57')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 155562, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-06 
05:23:30 UTC (rev 155563)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
155562, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-06 05:23:30 UTC (rev 155563)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-04 Thread Felix Yan
Date: Monday, January 4, 2016 @ 10:44:49
  Author: fyan
Revision: 155337

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 155336, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 155336, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 155336, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 155336, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 155336, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-04 09:44:49 UTC (rev 155337)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.2
+pkgrel=1
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('5317de67d381210fda43dba79061c33abb64c5eb42707a2fa570c330a165bd57')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 155336, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-04 
09:44:49 UTC (rev 155337)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
155336, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-04 09:44:49 UTC (rev 155337)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2016-01-04 Thread Felix Yan
Date: Monday, January 4, 2016 @ 17:10:20
  Author: fyan
Revision: 155452

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 155451, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 155451, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 155451, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 155451, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 155451, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-04 16:10:20 UTC (rev 155452)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.2
+pkgrel=2
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('5317de67d381210fda43dba79061c33abb64c5eb42707a2fa570c330a165bd57')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 155451, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2016-01-04 
16:10:20 UTC (rev 155452)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
155451, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-01-04 16:10:20 UTC (rev 155452)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2015-12-30 Thread Felix Yan
Date: Wednesday, December 30, 2015 @ 11:34:06
  Author: fyan
Revision: 155007

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 155006, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 155006, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 155006, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 155006, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 155006, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-30 10:34:06 UTC (rev 155007)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.0
+pkgrel=11
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('c77a309552b54bb03b7e2624dc45fdf6452dd63756f8955b5db5480df45cedf0')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 155006, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2015-12-30 
10:34:06 UTC (rev 155007)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
155006, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-30 10:34:06 UTC (rev 155007)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2015-12-25 Thread Felix Yan
Date: Friday, December 25, 2015 @ 10:55:33
  Author: fyan
Revision: 154506

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

Added:
  pandoc-crossref/repos/community-staging-i686/
  pandoc-crossref/repos/community-staging-i686/PKGBUILD
(from rev 154505, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install
(from rev 154505, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-staging-x86_64/
  pandoc-crossref/repos/community-staging-x86_64/PKGBUILD
(from rev 154505, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-staging-x86_64/haskell-pandoc-crossref.install
(from rev 154505, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-staging-i686/PKGBUILD  |   53 +
 community-staging-i686/haskell-pandoc-crossref.install   |   18 
 community-staging-x86_64/PKGBUILD|   53 +
 community-staging-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-staging-i686/PKGBUILD (from rev 154505, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-25 09:55:33 UTC (rev 154506)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.0
+pkgrel=10
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('c77a309552b54bb03b7e2624dc45fdf6452dd63756f8955b5db5480df45cedf0')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-staging-i686/haskell-pandoc-crossref.install 
(from rev 154505, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-staging-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-crossref.install  2015-12-25 
09:55:33 UTC (rev 154506)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-staging-x86_64/PKGBUILD (from rev 
154505, pandoc-crossref/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-12-25 09:55:33 UTC (rev 154506)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 

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

2015-12-24 Thread Felix Yan
Date: Friday, December 25, 2015 @ 06:24:46
  Author: fyan
Revision: 154470

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

Added:
  pandoc-crossref/repos/community-testing-i686/
  pandoc-crossref/repos/community-testing-i686/PKGBUILD
(from rev 154469, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-testing-i686/haskell-pandoc-crossref.install
(from rev 154469, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
  pandoc-crossref/repos/community-testing-x86_64/
  pandoc-crossref/repos/community-testing-x86_64/PKGBUILD
(from rev 154469, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-testing-x86_64/haskell-pandoc-crossref.install
(from rev 154469, pandoc-crossref/trunk/haskell-pandoc-crossref.install)

--+
 community-testing-i686/PKGBUILD  |   53 +
 community-testing-i686/haskell-pandoc-crossref.install   |   18 
 community-testing-x86_64/PKGBUILD|   53 +
 community-testing-x86_64/haskell-pandoc-crossref.install |   18 
 4 files changed, 142 insertions(+)

Copied: pandoc-crossref/repos/community-testing-i686/PKGBUILD (from rev 154469, 
pandoc-crossref/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-12-25 05:24:46 UTC (rev 154470)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-crossref
+pkgname=(pandoc-crossref haskell-pandoc-crossref)
+pkgver=0.1.6.0
+pkgrel=9
+pkgdesc="Pandoc filter for cross-references"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("GPL2")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-data-default" "haskell-mtl" 
"haskell-pandoc" "haskell-pandoc-types"
+ "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('c77a309552b54bb03b7e2624dc45fdf6452dd63756f8955b5db5480df45cedf0')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgname" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package_pandoc-crossref() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share}
+}
+
+package_haskell-pandoc-crossref() {
+pkgdesc="Pandoc filter for cross-references (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-crossref')
+install="haskell-pandoc-crossref.install"
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/${pkgname}/register.sh"
+install-m744 unregister.sh 
"${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgbase}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}

Copied: 
pandoc-crossref/repos/community-testing-i686/haskell-pandoc-crossref.install 
(from rev 154469, pandoc-crossref/trunk/haskell-pandoc-crossref.install)
===
--- community-testing-i686/haskell-pandoc-crossref.install  
(rev 0)
+++ community-testing-i686/haskell-pandoc-crossref.install  2015-12-25 
05:24:46 UTC (rev 154470)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-crossref
+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: pandoc-crossref/repos/community-testing-x86_64/PKGBUILD (from rev 
154469, pandoc-crossref/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-12-25 05:24:46 UTC (rev 154470)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan