summaryrefslogtreecommitdiff
path: root/pcr/pandoc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/pandoc/PKGBUILD')
-rw-r--r--pcr/pandoc/PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD
index 668c6407b..89e35b17d 100644
--- a/pcr/pandoc/PKGBUILD
+++ b/pcr/pandoc/PKGBUILD
@@ -3,10 +3,14 @@
# Run `makepkg -sp SRCBUILD` if you want to update the source tarball
+# hslua fails if LANG is empty or C
+test -z "$LANG" && export LANG="en_US.utf8"
+
pkgname=pandoc-static
_pkgname=pandoc
-pkgver=1.12.3.3
-pkgrel=2
+pkgver=1.12.4.2
+pkgrel=1
+_srcrel=2
pkgdesc='Conversion between markup formats (no Haskell libs)'
url='http://johnmacfarlane.net/pandoc/'
license=('GPL')
@@ -15,7 +19,7 @@ arch=('i686' 'x86_64')
depends=('icu>=52' 'icu<=54')
makedepends=('ghc' 'sh' 'cabal-install' 'alex' 'happy')
options=(strip !makeflags !distcc !emptydirs)
-source=(https://repo.parabolagnulinux.org/other/pandoc-static/${_pkgname}-${pkgver}-1-any.src.tar.xz{,.sig}
+source=(https://repo.parabolagnulinux.org/other/pandoc-static/${_pkgname}-${pkgver}-${_srcrel}-any.src.tar.xz{,.sig}
SRCBUILD)
replaces=('pandoc')
provides=('pandoc')
@@ -88,7 +92,8 @@ package() {
# EC is unfree and makes Parabola TeXLive cry
# besides, it's unneeded
- sed "/fontenc/d" -i ${pkgdir}/usr/share/${_pkgname}-${pkgver}/data/templates/default.latex
+ find "${pkgdir}/usr/share" -name default.latex -exec \
+ sed "/fontenc/d" -i {} \;
find ${pkgdir}/usr/share -type f -exec chmod 644 {} \;
find ${pkgdir}/usr/share -type d -exec chmod 755 {} \;
@@ -97,9 +102,3 @@ package() {
install -d ${pkgdir}/usr/share/licenses
cp -rv ${srcdir}/build/usr/share/doc/* ${pkgdir}/usr/share/licenses/
}
-sha1sums=('4984149bad15e5b07594d130b4f9d2dad4286e67'
- 'SKIP'
- '734e0b61b5a1f1ebf42b77c0b52ef18cd899f461')
-sha256sums=('7d469701d3bc033dce2e12fca8460f0d17fdb980a65dd25f266ee8f6071f5830'
- 'SKIP'
- 'a4370706e79992e570334584f647121096ed9b439f4531bfd11da247acff782e')