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

Felix Yan fyan at archlinux.org
Fri Dec 25 04:11:21 UTC 2015


    Date: Friday, December 25, 2015 @ 05:11:21
  Author: fyan
Revision: 154465

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

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

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

Copied: pandoc/repos/community-testing-i686/PKGBUILD (from rev 154464, pandoc/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-12-25 04:11:21 UTC (rev 154465)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgbase=pandoc
+pkgname=(pandoc haskell-pandoc)
+pkgver=1.15.2.1
+pkgrel=14
+pkgdesc="Conversion between markup formats"
+url="http://pandoc.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-http" "haskell-juicypixels" "haskell-sha" "haskell-aeson"
+             "haskell-base64-bytestring" "haskell-blaze-html" "haskell-blaze-markup"
+             "haskell-cmark" "haskell-data-default" "haskell-deepseq-generics" "haskell-mtl"
+             "haskell-extensible-exceptions" "haskell-filemanip" "haskell-haddock-library"
+             "haskell-highlighting-kate" "haskell-hslua" "haskell-http-client" "haskell-syb"
+             "haskell-http-client-tls" "haskell-http-types"  "haskell-text" "haskell-texmath"
+             "haskell-network" "haskell-old-time" "haskell-pandoc-types" "haskell-parsec"
+             "haskell-random" "haskell-scientific" "haskell-tagsoup" "haskell-temporary"
+             "haskell-network-uri" "haskell-unordered-containers" "haskell-zip-archive"
+             "haskell-vector" "haskell-xml" "haskell-yaml" "haskell-zlib")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('60bcb0e65ecb63953dd26d5aacf1a5df83700d116062ffaeffe9edbc9be6df59')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" --datasubdir="$pkgname" \
+        --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-old-locale -fnetwork-uri -fhttps -f-trypandoc -f-embed_data_files
+    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() {
+    depends=('gmp' 'libffi' 'zlib')
+    optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc filter')
+
+    cd "${srcdir}/${pkgbase}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/{lib,share/doc}
+}
+
+package_haskell-pandoc() {
+    pkgdesc="Conversion between markup formats (docs and libraries)"
+    depends=("${makedepends[@]}" 'pandoc')
+    install="haskell-pandoc.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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/share/{pandoc,man} "$pkgdir"/usr/bin
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}

Copied: pandoc/repos/community-testing-i686/haskell-pandoc.install (from rev 154464, pandoc/trunk/haskell-pandoc.install)
===================================================================
--- community-testing-i686/haskell-pandoc.install	                        (rev 0)
+++ community-testing-i686/haskell-pandoc.install	2015-12-25 04:11:21 UTC (rev 154465)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}

Copied: pandoc/repos/community-testing-x86_64/PKGBUILD (from rev 154464, pandoc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-12-25 04:11:21 UTC (rev 154465)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgbase=pandoc
+pkgname=(pandoc haskell-pandoc)
+pkgver=1.15.2.1
+pkgrel=14
+pkgdesc="Conversion between markup formats"
+url="http://pandoc.org"
+license=("GPL")
+arch=('i686' 'x86_64')
+makedepends=("ghc=7.10.3" "haskell-http" "haskell-juicypixels" "haskell-sha" "haskell-aeson"
+             "haskell-base64-bytestring" "haskell-blaze-html" "haskell-blaze-markup"
+             "haskell-cmark" "haskell-data-default" "haskell-deepseq-generics" "haskell-mtl"
+             "haskell-extensible-exceptions" "haskell-filemanip" "haskell-haddock-library"
+             "haskell-highlighting-kate" "haskell-hslua" "haskell-http-client" "haskell-syb"
+             "haskell-http-client-tls" "haskell-http-types"  "haskell-text" "haskell-texmath"
+             "haskell-network" "haskell-old-time" "haskell-pandoc-types" "haskell-parsec"
+             "haskell-random" "haskell-scientific" "haskell-tagsoup" "haskell-temporary"
+             "haskell-network-uri" "haskell-unordered-containers" "haskell-zip-archive"
+             "haskell-vector" "haskell-xml" "haskell-yaml" "haskell-zlib")
+options=('staticlibs')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('60bcb0e65ecb63953dd26d5aacf1a5df83700d116062ffaeffe9edbc9be6df59')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    
+    runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" --datasubdir="$pkgname" \
+        --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-old-locale -fnetwork-uri -fhttps -f-trypandoc -f-embed_data_files
+    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() {
+    depends=('gmp' 'libffi' 'zlib')
+    optdepends=('pandoc-citeproc: for citation rendering with pandoc-citeproc filter')
+
+    cd "${srcdir}/${pkgbase}-${pkgver}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/{lib,share/doc}
+}
+
+package_haskell-pandoc() {
+    pkgdesc="Conversion between markup formats (docs and libraries)"
+    depends=("${makedepends[@]}" 'pandoc')
+    install="haskell-pandoc.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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    rm -r "$pkgdir"/usr/share/{pandoc,man} "$pkgdir"/usr/bin
+    rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
+}

Copied: pandoc/repos/community-testing-x86_64/haskell-pandoc.install (from rev 154464, pandoc/trunk/haskell-pandoc.install)
===================================================================
--- community-testing-x86_64/haskell-pandoc.install	                        (rev 0)
+++ community-testing-x86_64/haskell-pandoc.install	2015-12-25 04:11:21 UTC (rev 154465)
@@ -0,0 +1,18 @@
+HS_DIR=usr/share/haskell/haskell-pandoc
+post_install() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_upgrade() {
+  ${HS_DIR}/unregister.sh
+}
+post_upgrade() {
+  ${HS_DIR}/register.sh
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}
+pre_remove() {
+  ${HS_DIR}/unregister.sh
+}
+post_remove() {
+  (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index)
+}



More information about the arch-commits mailing list