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

Felix Yan felixonmars at archlinux.org
Thu Oct 19 06:57:46 UTC 2017


    Date: Thursday, October 19, 2017 @ 06:57:45
  Author: felixonmars
Revision: 263504

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 263503, pandoc-citeproc/trunk/PKGBUILD)
  pandoc-citeproc/repos/community-staging-x86_64/
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD
    (from rev 263503, pandoc-citeproc/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   45 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   45 ++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: pandoc-citeproc/repos/community-staging-i686/PKGBUILD (from rev 263503, pandoc-citeproc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-10-19 06:57:45 UTC (rev 263504)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=pandoc-citeproc
+pkgver=0.11.1.1
+pkgrel=11
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-aeson-pretty" "haskell-attoparsec" "haskell-data-default"
+         "haskell-hs-bibutils" "haskell-mtl" "haskell-old-locale" "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")
+conflicts=('haskell-pandoc-citeproc')
+replaces=('haskell-pandoc-citeproc')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz")
+sha512sums=('6a80256a5da439db9cd14668934ae055c8d3cb33529ff3f0621789ea8c6c9183769e21a86d472c218e9cda2050c5bc1f2aaf096911bc454c5d2666f60808c255')
+
+build() {
+    cd "${srcdir}/$pkgname-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/$pkgname" --datasubdir="$pkgname" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-debug -f-test_citeproc -funicode_collation -f-embed_data_files -fbibutils -f-static
+    runhaskell Setup build
+    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() {
+    cd "${srcdir}/$pkgname-${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"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/$pkgname/LICENSE"
+}

Copied: pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD (from rev 263503, pandoc-citeproc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-10-19 06:57:45 UTC (rev 263504)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=pandoc-citeproc
+pkgver=0.11.1.1
+pkgrel=11
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-aeson" "haskell-aeson-pretty" "haskell-attoparsec" "haskell-data-default"
+         "haskell-hs-bibutils" "haskell-mtl" "haskell-old-locale" "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")
+conflicts=('haskell-pandoc-citeproc')
+replaces=('haskell-pandoc-citeproc')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/${pkgver}/$pkgname-${pkgver}.tar.gz")
+sha512sums=('6a80256a5da439db9cd14668934ae055c8d3cb33529ff3f0621789ea8c6c9183769e21a86d472c218e9cda2050c5bc1f2aaf096911bc454c5d2666f60808c255')
+
+build() {
+    cd "${srcdir}/$pkgname-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/$pkgname" --datasubdir="$pkgname" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -f-debug -f-test_citeproc -funicode_collation -f-embed_data_files -fbibutils -f-static
+    runhaskell Setup build
+    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() {
+    cd "${srcdir}/$pkgname-${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"
+    runhaskell Setup copy --destdir="${pkgdir}"
+    install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+    rm -f "${pkgdir}/usr/share/doc/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list