summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-12-24 18:03:26 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-12-25 12:17:37 -0300
commitd9cc39e8c02c22c84722e80d9d2b2bb6cc6b210c (patch)
tree8237d667501c909d82e73030db679e14dff09a20 /pcr
parent7a30c05ac48a7fcbe00f54e4ad3ff4e63c5416fa (diff)
downloadabslibre-d9cc39e8c02c22c84722e80d9d2b2bb6cc6b210c.tar.gz
abslibre-d9cc39e8c02c22c84722e80d9d2b2bb6cc6b210c.tar.bz2
abslibre-d9cc39e8c02c22c84722e80d9d2b2bb6cc6b210c.zip
pandoc-static: upgrade to 1.13.2 and utf8 lang fix
Diffstat (limited to 'pcr')
-rw-r--r--pcr/pandoc-static/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
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')