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

2016-07-05 Thread Felix Yan
Date: Tuesday, July 5, 2016 @ 10:40:23
  Author: felixonmars
Revision: 182305

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

Added:
  pandoc-citeproc/repos/community-staging-i686/
  pandoc-citeproc/repos/community-staging-i686/PKGBUILD
(from rev 182304, pandoc-citeproc/trunk/PKGBUILD)
  pandoc-citeproc/repos/community-staging-i686/aeson-pretty-0.8.patch
(from rev 182304, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)
  pandoc-citeproc/repos/community-staging-x86_64/
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD
(from rev 182304, pandoc-citeproc/trunk/PKGBUILD)
  pandoc-citeproc/repos/community-staging-x86_64/aeson-pretty-0.8.patch
(from rev 182304, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)

-+
 community-staging-i686/PKGBUILD |   65 ++
 community-staging-i686/aeson-pretty-0.8.patch   |   38 
 community-staging-x86_64/PKGBUILD   |   65 ++
 community-staging-x86_64/aeson-pretty-0.8.patch |   38 
 4 files changed, 206 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 182304, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-07-05 10:40:23 UTC (rev 182305)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.10
+pkgrel=10
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+aeson-pretty-0.8.patch)
+sha256sums=('2465117b5e922d8c93f6ebf3b99d76c90d31573d01bd9935f5a1cc7be1cdb702'
+'7605c9736a9bd284a15446c249324791b9b7b0ad8db4e7113d971d89a5912a6a')
+
+prepare() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+patch -p1 -i ../aeson-pretty-0.8.patch
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+
+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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: pandoc-citeproc/repos/community-staging-i686/aeson-pretty-0.8.patch 
(from rev 182304, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)
===
--- community-staging-i686/aeson-pretty-0.8.patch   
(rev 0)
+++ community-staging-i686/aeson-pretty-0.8.patch   2016-07-05 10:40:23 UTC 
(rev 182305)
@@ -0,0 +1,38 @@
+diff --git a/pandoc-citeproc.cabal b/pandoc-citeproc.cabal
+index 40c27af..595bb53 100644
+--- 

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

2016-07-04 Thread Felix Yan
Date: Monday, July 4, 2016 @ 06:01:48
  Author: felixonmars
Revision: 182045

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

Added:
  pandoc-citeproc/repos/community-staging-i686/
  pandoc-citeproc/repos/community-staging-i686/PKGBUILD
(from rev 182044, pandoc-citeproc/trunk/PKGBUILD)
  pandoc-citeproc/repos/community-staging-i686/aeson-pretty-0.8.patch
(from rev 182044, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)
  pandoc-citeproc/repos/community-staging-x86_64/
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD
(from rev 182044, pandoc-citeproc/trunk/PKGBUILD)
  pandoc-citeproc/repos/community-staging-x86_64/aeson-pretty-0.8.patch
(from rev 182044, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)

-+
 community-staging-i686/PKGBUILD |   65 ++
 community-staging-i686/aeson-pretty-0.8.patch   |   38 
 community-staging-x86_64/PKGBUILD   |   65 ++
 community-staging-x86_64/aeson-pretty-0.8.patch |   38 
 4 files changed, 206 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 182044, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-07-04 06:01:48 UTC (rev 182045)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.10
+pkgrel=9
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+aeson-pretty-0.8.patch)
+sha256sums=('2465117b5e922d8c93f6ebf3b99d76c90d31573d01bd9935f5a1cc7be1cdb702'
+'7605c9736a9bd284a15446c249324791b9b7b0ad8db4e7113d971d89a5912a6a')
+
+prepare() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+patch -p1 -i ../aeson-pretty-0.8.patch
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+
+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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: pandoc-citeproc/repos/community-staging-i686/aeson-pretty-0.8.patch 
(from rev 182044, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)
===
--- community-staging-i686/aeson-pretty-0.8.patch   
(rev 0)
+++ community-staging-i686/aeson-pretty-0.8.patch   2016-07-04 06:01:48 UTC 
(rev 182045)
@@ -0,0 +1,38 @@
+diff --git a/pandoc-citeproc.cabal b/pandoc-citeproc.cabal
+index 40c27af..595bb53 100644
+--- 

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

2016-07-03 Thread Felix Yan
Date: Sunday, July 3, 2016 @ 13:51:40
  Author: felixonmars
Revision: 181838

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

Added:
  pandoc-citeproc/repos/community-staging-i686/
  pandoc-citeproc/repos/community-staging-i686/PKGBUILD
(from rev 181837, pandoc-citeproc/trunk/PKGBUILD)
  pandoc-citeproc/repos/community-staging-i686/aeson-pretty-0.8.patch
(from rev 181837, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)
  pandoc-citeproc/repos/community-staging-x86_64/
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD
(from rev 181837, pandoc-citeproc/trunk/PKGBUILD)
  pandoc-citeproc/repos/community-staging-x86_64/aeson-pretty-0.8.patch
(from rev 181837, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)

-+
 community-staging-i686/PKGBUILD |   65 ++
 community-staging-i686/aeson-pretty-0.8.patch   |   38 
 community-staging-x86_64/PKGBUILD   |   65 ++
 community-staging-x86_64/aeson-pretty-0.8.patch |   38 
 4 files changed, 206 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 181837, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-07-03 13:51:40 UTC (rev 181838)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.10
+pkgrel=8
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=8.0.1" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;
+aeson-pretty-0.8.patch)
+sha256sums=('2465117b5e922d8c93f6ebf3b99d76c90d31573d01bd9935f5a1cc7be1cdb702'
+'7605c9736a9bd284a15446c249324791b9b7b0ad8db4e7113d971d89a5912a6a')
+
+prepare() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+patch -p1 -i ../aeson-pretty-0.8.patch
+}
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+
+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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: pandoc-citeproc/repos/community-staging-i686/aeson-pretty-0.8.patch 
(from rev 181837, pandoc-citeproc/trunk/aeson-pretty-0.8.patch)
===
--- community-staging-i686/aeson-pretty-0.8.patch   
(rev 0)
+++ community-staging-i686/aeson-pretty-0.8.patch   2016-07-03 13:51:40 UTC 
(rev 181838)
@@ -0,0 +1,38 @@
+diff --git a/pandoc-citeproc.cabal b/pandoc-citeproc.cabal
+index 40c27af..595bb53 100644
+--- 

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

2016-05-20 Thread Felix Yan
Date: Friday, May 20, 2016 @ 16:13:53
  Author: fyan
Revision: 175901

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 175900, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-20 14:13:53 UTC (rev 175901)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=23
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 175900, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-05-20 
14:13:53 UTC (rev 175901)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-05-12 Thread Felix Yan
Date: Thursday, May 12, 2016 @ 18:49:42
  Author: fyan
Revision: 175072

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 175071, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-12 16:49:42 UTC (rev 175072)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=22
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 175071, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-05-12 
16:49:42 UTC (rev 175072)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-05-08 Thread Felix Yan
Date: Sunday, May 8, 2016 @ 15:33:09
  Author: fyan
Revision: 174326

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 174325, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-08 13:33:09 UTC (rev 174326)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=20
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 174325, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-05-08 
13:33:09 UTC (rev 174326)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-05-07 Thread Felix Yan
Date: Saturday, May 7, 2016 @ 14:06:09
  Author: fyan
Revision: 174083

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 174082, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-07 12:06:09 UTC (rev 174083)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=19
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 174082, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-05-07 
12:06:09 UTC (rev 174083)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-05-04 Thread Felix Yan
Date: Wednesday, May 4, 2016 @ 12:25:44
  Author: fyan
Revision: 173691

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 173690, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-04 10:25:44 UTC (rev 173691)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=18
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 173690, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-05-04 
10:25:44 UTC (rev 173691)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-05-02 Thread Felix Yan
Date: Monday, May 2, 2016 @ 17:51:15
  Author: fyan
Revision: 173408

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 173407, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-02 15:51:15 UTC (rev 173408)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=17
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 173407, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-05-02 
15:51:15 UTC (rev 173408)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-04-18 Thread Felix Yan
Date: Monday, April 18, 2016 @ 08:46:17
  Author: fyan
Revision: 171313

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 171312, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-18 06:46:17 UTC (rev 171313)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=15
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 171312, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-04-18 
06:46:17 UTC (rev 171313)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-04-11 Thread Felix Yan
Date: Monday, April 11, 2016 @ 17:10:12
  Author: fyan
Revision: 170477

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 170476, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-11 15:10:12 UTC (rev 170477)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=14
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 170476, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-04-11 
15:10:12 UTC (rev 170477)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-04-10 Thread Felix Yan
Date: Monday, April 11, 2016 @ 07:21:50
  Author: fyan
Revision: 170342

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 170341, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-11 05:21:50 UTC (rev 170342)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=13
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 170341, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-04-11 
05:21:50 UTC (rev 170342)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-04-10 Thread Felix Yan
Date: Sunday, April 10, 2016 @ 14:25:38
  Author: fyan
Revision: 170068

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 170067, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-04-10 12:25:38 UTC (rev 170068)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=12
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 170067, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-04-10 
12:25:38 UTC (rev 170068)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-31 Thread Felix Yan
Date: Thursday, March 31, 2016 @ 13:27:54
  Author: fyan
Revision: 169071

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 169070, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-31 11:27:54 UTC (rev 169071)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=9
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 169070, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-31 
11:27:54 UTC (rev 169071)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-30 Thread Felix Yan
Date: Wednesday, March 30, 2016 @ 19:23:45
  Author: fyan
Revision: 168920

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 168919, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-30 17:23:45 UTC (rev 168920)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=8
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 168919, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-30 
17:23:45 UTC (rev 168920)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-29 Thread Felix Yan
Date: Tuesday, March 29, 2016 @ 08:46:28
  Author: fyan
Revision: 168755

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 168754, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-29 06:46:28 UTC (rev 168755)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=7
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 168754, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-29 
06:46:28 UTC (rev 168755)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-27 Thread Felix Yan
Date: Sunday, March 27, 2016 @ 16:57:29
  Author: fyan
Revision: 168546

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 168545, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-27 14:57:29 UTC (rev 168546)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=6
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 168545, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-27 
14:57:29 UTC (rev 168546)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-25 Thread Felix Yan
Date: Friday, March 25, 2016 @ 08:12:13
  Author: fyan
Revision: 168336

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 168335, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-25 07:12:13 UTC (rev 168336)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=5
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 168335, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-25 
07:12:13 UTC (rev 168336)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-24 Thread Felix Yan
Date: Thursday, March 24, 2016 @ 10:56:08
  Author: fyan
Revision: 168202

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 168201, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-24 09:56:08 UTC (rev 168202)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=4
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 168201, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-24 
09:56:08 UTC (rev 168202)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-23 Thread Felix Yan
Date: Wednesday, March 23, 2016 @ 08:38:05
  Author: fyan
Revision: 168028

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 168027, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-23 07:38:05 UTC (rev 168028)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=3
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 168027, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-23 
07:38:05 UTC (rev 168028)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-22 Thread Felix Yan
Date: Tuesday, March 22, 2016 @ 08:55:43
  Author: fyan
Revision: 167869

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 167868, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-22 07:55:43 UTC (rev 167869)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=2
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 167868, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-22 
07:55:43 UTC (rev 167869)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-20 Thread Felix Yan
Date: Sunday, March 20, 2016 @ 11:38:06
  Author: fyan
Revision: 167701

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 167700, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-20 10:38:06 UTC (rev 167701)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9.1.1
+pkgrel=1
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('15c89a9aa6bce4efd6b728ea16151eb6390cad0495eb82c50cbac490591c8f86')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 167700, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-20 
10:38:06 UTC (rev 167701)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-03-18 Thread Felix Yan
Date: Thursday, March 17, 2016 @ 07:45:02
  Author: fyan
Revision: 166966

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 166965, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-17 06:45:02 UTC (rev 166966)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=38
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 166965, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-17 
06:45:02 UTC (rev 166966)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  

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

2016-03-18 Thread Felix Yan
Date: Friday, March 18, 2016 @ 09:28:16
  Author: fyan
Revision: 167350

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 167349, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-18 08:28:16 UTC (rev 167350)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=39
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 167349, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-18 
08:28:16 UTC (rev 167350)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd 

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

2016-03-14 Thread Felix Yan
Date: Monday, March 14, 2016 @ 08:31:07
  Author: fyan
Revision: 166633

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 166632, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-14 07:31:07 UTC (rev 166633)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=37
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 166632, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-14 
07:31:07 UTC (rev 166633)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd 

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

2016-03-12 Thread Felix Yan
Date: Saturday, March 12, 2016 @ 12:37:34
  Author: fyan
Revision: 166338

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 166335, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-12 11:37:34 UTC (rev 166338)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=36
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 166336, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-12 
11:37:34 UTC (rev 166338)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  

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

2016-03-09 Thread Felix Yan
Date: Wednesday, March 9, 2016 @ 14:46:44
  Author: fyan
Revision: 165749

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 165748, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-09 13:46:44 UTC (rev 165749)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=35
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 165748, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-09 
13:46:44 UTC (rev 165749)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  

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

2016-03-03 Thread Felix Yan
Date: Thursday, March 3, 2016 @ 16:56:39
  Author: fyan
Revision: 164509

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 164508, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-03 15:56:39 UTC (rev 164509)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=33
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 164508, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-03 
15:56:39 UTC (rev 164509)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  

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

2016-03-02 Thread Felix Yan
Date: Thursday, March 3, 2016 @ 06:57:21
  Author: fyan
Revision: 164292

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 164291, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-03-03 05:57:21 UTC (rev 164292)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=32
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 164291, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-03-03 
05:57:21 UTC (rev 164292)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  

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

2016-02-24 Thread Felix Yan
Date: Thursday, February 25, 2016 @ 04:17:42
  Author: fyan
Revision: 163366

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 163365, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-25 03:17:42 UTC (rev 163366)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=30
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 163365, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-25 
03:17:42 UTC (rev 163366)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+ 

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

2016-02-20 Thread Felix Yan
Date: Sunday, February 21, 2016 @ 05:24:03
  Author: fyan
Revision: 162947

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

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

--+
 community-staging-i686/PKGBUILD  |   64 +
 community-staging-i686/haskell-pandoc-citeproc.install   |   18 +++
 community-staging-x86_64/PKGBUILD|   64 +
 community-staging-x86_64/haskell-pandoc-citeproc.install |   18 +++
 4 files changed, 164 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 162946, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-21 04:24:03 UTC (rev 162947)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=29
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+prepare() {
+sed -e 's/aeson >= 0.7 && < 0.11/aeson >= 0.7 \&\& < 0.12/' \
+-i ${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="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 162946, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-21 
04:24:03 UTC (rev 162947)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  

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

2016-02-19 Thread Felix Yan
Date: Friday, February 19, 2016 @ 09:50:23
  Author: fyan
Revision: 162446

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 162445, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-19 08:50:23 UTC (rev 162446)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=28
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 162445, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-19 
08:50:23 UTC (rev 162446)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-02-17 Thread Felix Yan
Date: Thursday, February 18, 2016 @ 06:33:04
  Author: fyan
Revision: 162193

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 162192, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-18 05:33:04 UTC (rev 162193)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=27
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 162192, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-18 
05:33:04 UTC (rev 162193)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-02-15 Thread Felix Yan
Date: Tuesday, February 16, 2016 @ 04:05:38
  Author: fyan
Revision: 161780

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 161779, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-16 03:05:38 UTC (rev 161780)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=26
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 161779, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-16 
03:05:38 UTC (rev 161780)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-02-15 Thread Felix Yan
Date: Monday, February 15, 2016 @ 15:18:56
  Author: fyan
Revision: 161657

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 161656, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-15 14:18:56 UTC (rev 161657)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=25
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 161656, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-15 
14:18:56 UTC (rev 161657)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-02-11 Thread Felix Yan
Date: Thursday, February 11, 2016 @ 13:37:24
  Author: fyan
Revision: 161197

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 161196, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-11 12:37:24 UTC (rev 161197)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=24
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 161196, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-11 
12:37:24 UTC (rev 161197)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-02-08 Thread Felix Yan
Date: Monday, February 8, 2016 @ 17:52:50
  Author: fyan
Revision: 160936

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 160935, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-08 16:52:50 UTC (rev 160936)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=23
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 160935, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-08 
16:52:50 UTC (rev 160936)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-02-03 Thread Felix Yan
Date: Thursday, February 4, 2016 @ 07:59:02
  Author: fyan
Revision: 160211

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 160210, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-04 06:59:02 UTC (rev 160211)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=22
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 160210, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-04 
06:59:02 UTC (rev 160211)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-31 Thread Felix Yan
Date: Monday, February 1, 2016 @ 04:46:12
  Author: fyan
Revision: 159733

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 159732, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-02-01 03:46:12 UTC (rev 159733)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=21
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 159732, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-02-01 
03:46:12 UTC (rev 159733)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-30 Thread Felix Yan
Date: Saturday, January 30, 2016 @ 12:42:59
  Author: fyan
Revision: 159514

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 159513, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-30 11:42:59 UTC (rev 159514)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=20
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 159513, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-30 
11:42:59 UTC (rev 159514)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-26 Thread Felix Yan
Date: Tuesday, January 26, 2016 @ 10:16:18
  Author: fyan
Revision: 158929

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 158928, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-26 09:16:18 UTC (rev 158929)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=18
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 158928, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-26 
09:16:18 UTC (rev 158929)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-25 Thread Felix Yan
Date: Monday, January 25, 2016 @ 09:16:27
  Author: fyan
Revision: 158827

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 158826, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-25 08:16:27 UTC (rev 158827)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=17
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 158826, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-25 
08:16:27 UTC (rev 158827)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

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

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 158661, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-23 07:43:23 UTC (rev 158662)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=16
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 158661, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-23 
07:43:23 UTC (rev 158662)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-21 Thread Felix Yan
Date: Friday, January 22, 2016 @ 07:13:52
  Author: fyan
Revision: 158504

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 158503, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-22 06:13:52 UTC (rev 158504)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=15
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 158503, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-22 
06:13:52 UTC (rev 158504)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-20 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 12:09:01
  Author: fyan
Revision: 158044

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 158043, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-20 11:09:01 UTC (rev 158044)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=14
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 158043, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-20 
11:09:01 UTC (rev 158044)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-18 Thread Felix Yan
Date: Monday, January 18, 2016 @ 10:10:00
  Author: fyan
Revision: 157436

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 157435, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-18 09:10:00 UTC (rev 157436)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=12
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 157435, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-18 
09:10:00 UTC (rev 157436)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-18 Thread Felix Yan
Date: Tuesday, January 19, 2016 @ 04:03:20
  Author: fyan
Revision: 157588

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 157587, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-19 03:03:20 UTC (rev 157588)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=13
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 157587, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-19 
03:03:20 UTC (rev 157588)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-17 Thread Felix Yan
Date: Sunday, January 17, 2016 @ 14:54:04
  Author: fyan
Revision: 157148

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 157147, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-17 13:54:04 UTC (rev 157148)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=11
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 157147, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-17 
13:54:04 UTC (rev 157148)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-15 Thread Felix Yan
Date: Saturday, January 16, 2016 @ 04:16:44
  Author: fyan
Revision: 156815

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 156814, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-16 03:16:44 UTC (rev 156815)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=10
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 156814, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-16 
03:16:44 UTC (rev 156815)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-15 Thread Felix Yan
Date: Friday, January 15, 2016 @ 09:25:04
  Author: fyan
Revision: 156584

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 156583, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-15 08:25:04 UTC (rev 156584)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=9
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 156583, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-15 
08:25:04 UTC (rev 156584)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2016-01-13 Thread Felix Yan
Date: Thursday, January 14, 2016 @ 08:34:40
  Author: fyan
Revision: 156391

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

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

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

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 156390, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-01-14 07:34:40 UTC (rev 156391)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.9
+pkgrel=8
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-text-icu"
+ "haskell-unordered-containers" "haskell-vector" 
"haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('ae880aa27b5fcaf93886844bd9473c764329dc96211482bf014f350335887fbd')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -funicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc' 'icu')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-staging-i686/haskell-pandoc-citeproc.install 
(from rev 156390, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-staging-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-staging-i686/haskell-pandoc-citeproc.install  2016-01-14 
07:34:40 UTC (rev 156391)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  

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

2015-12-24 Thread Felix Yan
Date: Friday, December 25, 2015 @ 07:19:25
  Author: fyan
Revision: 154474

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

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

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

Copied: pandoc-citeproc/repos/community-testing-i686/PKGBUILD (from rev 154473, 
pandoc-citeproc/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-12-25 06:19:25 UTC (rev 154474)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgbase=pandoc-citeproc
+pkgname=(pandoc-citeproc haskell-pandoc-citeproc)
+pkgver=0.8.1.3
+pkgrel=18
+pkgdesc="Supports using pandoc with citeproc"
+url="http://hackage.haskell.org/package/${pkgbase};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-aeson" "haskell-aeson-pretty" 
"haskell-attoparsec"
+ "haskell-data-default" "haskell-hs-bibutils" "haskell-mtl"
+ "haskell-old-locale" "haskell-pandoc" "haskell-pandoc-types" 
"haskell-parsec"
+ "haskell-rfc5051" "haskell-setenv" "haskell-split" "haskell-syb"
+ "haskell-tagsoup" "haskell-temporary" "haskell-text" 
"haskell-unordered-containers"
+ "haskell-vector" "haskell-xml-conduit" "haskell-yaml")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz;)
+sha256sums=('aa15ff9cbb9c1cca504943c94cd891e23944cb0106172886821cb048a9726c7d')
+
+build() {
+cd "${srcdir}/${pkgbase}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgbase}" 
--datasubdir="$pkgbase" \
+--libsubdir=\$compiler/site-local/\$pkgid \
+-f-debug -f-test_citeproc -f-unicode_collation -f-embed_data_files 
-fbibutils
+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-citeproc() {
+depends=('pandoc')
+
+cd "${srcdir}/${pkgbase}-${pkgver}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/{lib,share/doc}
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_haskell-pandoc-citeproc() {
+pkgdesc="Supports using pandoc with citeproc (docs and libraries)"
+depends=("${makedepends[@]}" 'pandoc-citeproc')
+install="haskell-pandoc-citeproc.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/${pkgbase}"
+runhaskell Setup copy --destdir="${pkgdir}"
+rm -r "$pkgdir"/usr/share/{pandoc-citeproc,man} "$pkgdir"/usr/bin
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: 
pandoc-citeproc/repos/community-testing-i686/haskell-pandoc-citeproc.install 
(from rev 154473, pandoc-citeproc/trunk/haskell-pandoc-citeproc.install)
===
--- community-testing-i686/haskell-pandoc-citeproc.install  
(rev 0)
+++ community-testing-i686/haskell-pandoc-citeproc.install  2015-12-25 
06:19:25 UTC (rev 154474)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc-citeproc
+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
+