[arch-commits] Commit in pandoc-citeproc/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Wed Jan 3 07:31:49 UTC 2018


    Date: Wednesday, January 3, 2018 @ 07:31:45
  Author: felixonmars
Revision: 277930

archrelease: copy trunk to community-staging-x86_64

Added:
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD
    (from rev 277929, pandoc-citeproc/trunk/PKGBUILD)
Deleted:
  pandoc-citeproc/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-03 07:31:11 UTC (rev 277929)
+++ PKGBUILD	2018-01-03 07:31:45 UTC (rev 277930)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=pandoc-citeproc
-pkgver=0.12.2
-pkgrel=4
-pkgdesc="Supports using pandoc with citeproc"
-url="https://hackage.haskell.org/package/$pkgname"
-license=("custom:BSD3")
-arch=('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=('e706a8c4d202ac026563ed763295947809dc4baa70ee1f6a4d147e5b2a7acefc6e50f2b49fa387e682541c23a8102b5cd8e35fb3ecbddc10f417d4007b1f08dd')
-
-prepare() {
-    cd "${srcdir}/$pkgname-${pkgver}"
-    # TODO: find a better solution
-    sed -i "s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|" tests/test-pandoc-citeproc.hs
-}
-
-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" --enable-tests \
-        --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
-}
-
-check() {
-    cd $pkgname-$pkgver
-    runhaskell Setup test
-}
-
-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 277929, pandoc-citeproc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-01-03 07:31:45 UTC (rev 277930)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=pandoc-citeproc
+pkgver=0.12.2.3
+pkgrel=1
+pkgdesc="Supports using pandoc with citeproc"
+url="https://hackage.haskell.org/package/$pkgname"
+license=("custom:BSD3")
+arch=('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=('1652bcbf6720ec823aef0d1363fdafaa31a1ea89c592eb7df014b8c0a2f61d9ed771de65ba8d4612f48840d1f8f749a0835c776600875bda6458f7991391817f')
+
+prepare() {
+    cd "${srcdir}/$pkgname-${pkgver}"
+    # TODO: find a better solution
+    sed -i "s|(\"HOME\",\".\")|(\"HOME\",\".\"),(\"LD_LIBRARY_PATH\",\"$PWD/dist/build\"),(\"pandoc_citeproc_datadir\",\"$PWD\")|" tests/test-pandoc-citeproc.hs
+}
+
+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" --enable-tests \
+        --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
+}
+
+check() {
+    cd $pkgname-$pkgver
+    runhaskell Setup test
+}
+
+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