From d9cc39e8c02c22c84722e80d9d2b2bb6cc6b210c Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 24 Dec 2014 18:03:26 -0300 Subject: pandoc-static: upgrade to 1.13.2 and utf8 lang fix --- pcr/pandoc-static/PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'pcr') diff --git a/pcr/pandoc-static/PKGBUILD b/pcr/pandoc-static/PKGBUILD index 85d2f9e09..c26de70a0 100644 --- a/pcr/pandoc-static/PKGBUILD +++ b/pcr/pandoc-static/PKGBUILD @@ -4,8 +4,8 @@ pkgname=pandoc-static _pkgname=pandoc -pkgver=1.13.1 -pkgrel=2 +pkgver=1.13.2 +pkgrel=1 pkgdesc='Conversion between markup formats (no Haskell libraries)' url='http://johnmacfarlane.net/pandoc/' license=('GPL') @@ -32,7 +32,9 @@ _packages=(hs-bibutils network hexpat text text-icu hsb2hs mkdepends=('ghc' 'cabal-install') mksource() ( set -o pipefail - export LANG="en_US.utf8" + # building haddock requires an utf8 lang, if you use anything else you + # have to enable an utf8 locale and run locale-gen + test "${LANG#*.}" != "utf8" && export LANG="en_US.utf8" export HOME="$srcdir" mkdir $pkgname-$pkgver @@ -64,7 +66,9 @@ build() ( cd "${srcdir}/${pkgname}-${pkgver}" mkdir -p ../build - export LANG="en_US.utf8" + # building haddock requires an utf8 lang, if you use anything else you + # have to enable an utf8 locale and run locale-gen + test "${LANG#*.}" != "utf8" && export LANG="en_US.utf8" export HOME="${srcdir}" export PATH="${srcdir}/build/usr/bin:${PATH}" @@ -124,3 +128,4 @@ package() { cp -rv "${srcdir}"/build/usr/share/doc/*/* "${pkgdir}"/usr/share/licenses/${pkgname} mv -v "${pkgdir}"/usr/share/doc/*/* "${pkgdir}"/usr/share/licenses/${pkgname} } +md5sums=('6c763fae16e10400874b15d7b084ad82') -- cgit v1.2.3