summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2015-09-12 12:30:44 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:03 -0300
commit9437b1673d15cf86ab667433625cf7e360c4c9f8 (patch)
tree08c03eafb4cc4ac218878ad6197f4347becd6cb8 /pcr
parent42219993aee33a51c16b1fecc74fd7f42bf03d9d (diff)
downloadabslibre-9437b1673d15cf86ab667433625cf7e360c4c9f8.tar.gz
abslibre-9437b1673d15cf86ab667433625cf7e360c4c9f8.tar.bz2
abslibre-9437b1673d15cf86ab667433625cf7e360c4c9f8.zip
pandoc-static: remove RPATH from binaries
Diffstat (limited to 'pcr')
-rw-r--r--pcr/pandoc-static/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/pcr/pandoc-static/PKGBUILD b/pcr/pandoc-static/PKGBUILD
index 0954c71c2..3f1138e3c 100644
--- a/pcr/pandoc-static/PKGBUILD
+++ b/pcr/pandoc-static/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=pandoc-static
_pkgname=pandoc
pkgver=1.15.0.6
-pkgrel=1
+pkgrel=2
pkgdesc='Conversion between markup formats (no Haskell libraries)'
url='http://johnmacfarlane.net/pandoc/'
license=('GPL')
@@ -15,10 +15,10 @@ provides=('pandoc')
arch=('i686' 'x86_64')
depends=('icu>=55' 'icu<56' 'gmp' 'libffi' 'zlib')
-makedepends=('ghc' 'sh' 'cabal-install' 'alex' 'happy')
+makedepends=('ghc' 'sh' 'cabal-install' 'alex' 'happy' 'chrpath')
optdepends=('texlive-most: for PDF creation')
options=(strip !makeflags !distcc !emptydirs)
-source=(https://repo.parabola.nu/other/${pkgname}/${pkgname}-${pkgver}-${pkgrel}.tar.xz{,.sig})
+source=(https://repo.parabola.nu/other/${pkgname}/${pkgname}-${pkgver}-1.tar.xz{,.sig})
validpgpkeys=('49F707A1CB366C580E625B3C456032D717A4CD9C')
declare -gA _flags
@@ -114,6 +114,8 @@ package() {
msg2 "Installing extra executables..."
cp -av "${srcdir}"/build/usr/bin/* "${pkgdir}"/usr/bin/
+ # Remove RPATH
+ chrpath --delete "${pkgdir}"/usr/bin/*
msg2 "Removing library files..."
rm -rfv "$pkgdir"/usr/lib