[arch-commits] Commit in pandoc-citeproc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Aug 7 10:55:23 UTC 2018
Date: Tuesday, August 7, 2018 @ 10:55:22
Author: foutrelis
Revision: 370112
archrelease: copy trunk to community-x86_64
Added:
pandoc-citeproc/repos/community-x86_64/PKGBUILD
(from rev 370111, pandoc-citeproc/trunk/PKGBUILD)
Deleted:
pandoc-citeproc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-07 10:55:14 UTC (rev 370111)
+++ PKGBUILD 2018-08-07 10:55:22 UTC (rev 370112)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=pandoc-citeproc
-pkgver=0.14.3.1
-pkgrel=101
-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-base-compat'
- 'haskell-data-default' 'haskell-hs-bibutils' 'haskell-old-locale' 'pandoc'
- 'haskell-pandoc-types' 'haskell-rfc5051' 'haskell-setenv' 'haskell-split'
- 'haskell-syb' 'haskell-tagsoup' 'haskell-temporary' '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=('ab3d395c77192f72fa5cf9606f3cc5fc37c00a5719a58203d4b7c6edbc032524dd8457abe292d5d7dbe5ab2eaccd545269355931451ca0835d0ac1aa3cc48414')
-
-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
- # https://github.com/jgm/pandoc-citeproc/issues/342
- runhaskell Setup test || warning "Tests failed"
-}
-
-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-x86_64/PKGBUILD (from rev 370111, pandoc-citeproc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-07 10:55:22 UTC (rev 370112)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=pandoc-citeproc
+pkgver=0.14.3.1
+pkgrel=102
+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-base-compat'
+ 'haskell-data-default' 'haskell-hs-bibutils' 'haskell-old-locale' 'pandoc'
+ 'haskell-pandoc-types' 'haskell-rfc5051' 'haskell-setenv' 'haskell-split'
+ 'haskell-syb' 'haskell-tagsoup' 'haskell-temporary' '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=('ab3d395c77192f72fa5cf9606f3cc5fc37c00a5719a58203d4b7c6edbc032524dd8457abe292d5d7dbe5ab2eaccd545269355931451ca0835d0ac1aa3cc48414')
+
+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
+ # https://github.com/jgm/pandoc-citeproc/issues/342
+ runhaskell Setup test || warning "Tests failed"
+}
+
+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