[arch-commits] Commit in pandoc-crossref/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Feb 17 11:36:40 UTC 2021


    Date: Wednesday, February 17, 2021 @ 11:36:40
  Author: felixonmars
Revision: 862380

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   96 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 46 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-17 11:36:24 UTC (rev 862379)
+++ PKGBUILD	2021-02-17 11:36:40 UTC (rev 862380)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=pandoc-crossref
-pkgver=0.3.8.4
-pkgrel=57
-pkgdesc="Pandoc filter for cross-references"
-url="https://hackage.haskell.org/package/${pkgname}"
-license=("GPL2")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 'haskell-data-accessor-template'
-         'haskell-data-accessor-transformers' 'haskell-gitrev' 'haskell-open-browser'
-         'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 'haskell-roman-numerals'
-         'haskell-syb' 'haskell-utility-ht')
-makedepends=('ghc' 'uusi' 'haskell-hspec')
-conflicts=('haskell-pandoc-crossref')
-replaces=('haskell-pandoc-crossref')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz")
-sha512sums=('33d0414682335df543faef1b9102258b322b11b86eb279f44763b3eb697a29b8222bee2f7c0b71b880923eb3951d733603d24e892bf6abb9af6692c63c419882')
-
-prepare() {
-    uusi -u optparse-applicative $pkgname-$pkgver/$pkgname.cabal
-}
-
-build() {
-    cd $pkgname-$pkgver
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests --datasubdir="$pkgname" \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-	    -f-enable_flaky_tests
-    runhaskell Setup build $MAKEFLAGS
-    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 $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}"
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
-}

Copied: pandoc-crossref/repos/community-x86_64/PKGBUILD (from rev 862379, pandoc-crossref/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-17 11:36:40 UTC (rev 862380)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=pandoc-crossref
+pkgver=0.3.9.0
+pkgrel=1
+pkgdesc="Pandoc filter for cross-references"
+url="https://hackage.haskell.org/package/${pkgname}"
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-data-default' 'haskell-data-accessor' 'haskell-data-accessor-template'
+         'haskell-data-accessor-transformers' 'haskell-gitrev' 'haskell-open-browser'
+         'haskell-optparse-applicative' 'pandoc' 'haskell-pandoc-types' 'haskell-roman-numerals'
+         'haskell-syb' 'haskell-utility-ht')
+makedepends=('ghc' 'haskell-hspec')
+conflicts=('haskell-pandoc-crossref')
+replaces=('haskell-pandoc-crossref')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lierdakil/pandoc-crossref/archive/v$pkgver.tar.gz")
+sha512sums=('03c4f1dc2363fb7e6c097c2e52a1c3f0191806f74e678ab3c8fdb9d116deda400b4517665061c87a44ef48648f75e3c4153aa1e08c9c369a50b5b8356bcc3bb1')
+
+build() {
+    cd $pkgname-$pkgver
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests --datasubdir="$pkgname" \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+	    -f-enable_flaky_tests
+    runhaskell Setup build $MAKEFLAGS
+    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 $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}"
+    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



More information about the arch-commits mailing list