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

Felix Yan felixonmars at archlinux.org
Fri Aug 11 02:48:36 UTC 2017


    Date: Friday, August 11, 2017 @ 02:48:36
  Author: felixonmars
Revision: 249814

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

Added:
  pandoc-crossref/repos/community-i686/PKGBUILD
    (from rev 249813, pandoc-crossref/trunk/PKGBUILD)
  pandoc-crossref/repos/community-x86_64/PKGBUILD
    (from rev 249813, pandoc-crossref/trunk/PKGBUILD)
Deleted:
  pandoc-crossref/repos/community-i686/PKGBUILD
  pandoc-crossref/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   92 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   52 ------------------------
 community-x86_64/PKGBUILD |   52 ------------------------
 3 files changed, 92 insertions(+), 104 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-08-11 02:48:09 UTC (rev 249813)
+++ community-i686/PKGBUILD	2017-08-11 02:48:36 UTC (rev 249814)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=pandoc-crossref
-pkgver=0.2.5.0
-pkgrel=91
-pkgdesc="Pandoc filter for cross-references"
-url="https://hackage.haskell.org/package/${pkgname}"
-license=("GPL2")
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-data-default" "haskell-data-accessor" "haskell-data-accessor-template"
-         "haskell-data-accessor-transformers" "haskell-mtl" "pandoc" "haskell-pandoc-types"
-         "haskell-roman-numerals" "haskell-syb" "haskell-utility-ht")
-conflicts=('haskell-pandoc-crossref')
-replaces=('haskell-pandoc-crossref')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('d4d93bbe448e2cf187a0b7bcc605d0445e28021e4e31bfef890b93bee2b28491')
-
-prepare() {
-    sed -e 's/pandoc >= 1.17.1 && <1.19/pandoc >= 1.17.1 \&\& <1.20/' \
-        -e 's/, syb >= 0.4 && < 0.7/, syb >= 0.4 \&\& < 0.8/' \
-        -i ${pkgname}-${pkgver}/${pkgname}.cabal
-}
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-    runhaskell Setup build
-    runhaskell Setup haddock --hoogle --html
-    runhaskell Setup register --gen-script
-    runhaskell Setup unregister --gen-script
-    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-    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"
-    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 -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: pandoc-crossref/repos/community-i686/PKGBUILD (from rev 249813, pandoc-crossref/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-08-11 02:48:36 UTC (rev 249814)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=pandoc-crossref
+pkgver=0.2.6.0
+pkgrel=1
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname}"
+license=("GPL2")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-data-default" "haskell-data-accessor" "haskell-data-accessor-template"
+         "haskell-data-accessor-transformers" "haskell-mtl" "pandoc" "haskell-pandoc-types"
+         "haskell-roman-numerals" "haskell-syb" "haskell-utility-ht")
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('2af52b5f347b039148d5285b1277a1c3e382bf0f666d353ac593635f1bae3ef692fac7319ed0ca8c9ab33475a2bb28ae5b540d80c637eb39f8f5a22830258fc1')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    runhaskell Setup build
+    runhaskell Setup haddock --hoogle --html
+    runhaskell Setup register --gen-script
+    runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+    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"
+    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 -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-08-11 02:48:09 UTC (rev 249813)
+++ community-x86_64/PKGBUILD	2017-08-11 02:48:36 UTC (rev 249814)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=pandoc-crossref
-pkgver=0.2.5.0
-pkgrel=91
-pkgdesc="Pandoc filter for cross-references"
-url="https://hackage.haskell.org/package/${pkgname}"
-license=("GPL2")
-arch=('i686' 'x86_64')
-depends=('ghc' "haskell-data-default" "haskell-data-accessor" "haskell-data-accessor-template"
-         "haskell-data-accessor-transformers" "haskell-mtl" "pandoc" "haskell-pandoc-types"
-         "haskell-roman-numerals" "haskell-syb" "haskell-utility-ht")
-conflicts=('haskell-pandoc-crossref')
-replaces=('haskell-pandoc-crossref')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('d4d93bbe448e2cf187a0b7bcc605d0445e28021e4e31bfef890b93bee2b28491')
-
-prepare() {
-    sed -e 's/pandoc >= 1.17.1 && <1.19/pandoc >= 1.17.1 \&\& <1.20/' \
-        -e 's/, syb >= 0.4 && < 0.7/, syb >= 0.4 \&\& < 0.8/' \
-        -i ${pkgname}-${pkgver}/${pkgname}.cabal
-}
-
-build() {
-    cd "${srcdir}/${pkgname}-${pkgver}"
-    
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-    runhaskell Setup build
-    runhaskell Setup haddock --hoogle --html
-    runhaskell Setup register --gen-script
-    runhaskell Setup unregister --gen-script
-    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-    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"
-    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 -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: pandoc-crossref/repos/community-x86_64/PKGBUILD (from rev 249813, pandoc-crossref/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-08-11 02:48:36 UTC (rev 249814)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=pandoc-crossref
+pkgver=0.2.6.0
+pkgrel=1
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname}"
+license=("GPL2")
+arch=('i686' 'x86_64')
+depends=('ghc' "haskell-data-default" "haskell-data-accessor" "haskell-data-accessor-template"
+         "haskell-data-accessor-transformers" "haskell-mtl" "pandoc" "haskell-pandoc-types"
+         "haskell-roman-numerals" "haskell-syb" "haskell-utility-ht")
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('2af52b5f347b039148d5285b1277a1c3e382bf0f666d353ac593635f1bae3ef692fac7319ed0ca8c9ab33475a2bb28ae5b540d80c637eb39f8f5a22830258fc1')
+
+build() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+    runhaskell Setup build
+    runhaskell Setup haddock --hoogle --html
+    runhaskell Setup register --gen-script
+    runhaskell Setup unregister --gen-script
+    sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+    sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+    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"
+    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 -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+
+    # Remove static libs
+    find "$pkgdir"/usr/lib -name "*.a" -delete
+}



More information about the arch-commits mailing list