summaryrefslogtreecommitdiff
path: root/office/hevea/hevea.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/hevea/hevea.SlackBuild')
-rw-r--r--office/hevea/hevea.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/office/hevea/hevea.SlackBuild b/office/hevea/hevea.SlackBuild
index 4c30fbba46..3d127a4b7e 100644
--- a/office/hevea/hevea.SlackBuild
+++ b/office/hevea/hevea.SlackBuild
@@ -5,7 +5,7 @@
# Written by Dario Nicodemi dario.sbo@gmail.com
PRGNAM=hevea
-VERSION=${VERSION:-1.10}
+VERSION=${VERSION:-2.00}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,12 +57,11 @@ find . \
sed -i -e "\
s|^PREFIX=.*|PREFIX=/usr|; \
s|^LIBDIR=.*|LIBDIR=\$(PREFIX)/lib${LIBDIRSUFFIX}/hevea|; \
- s|^LATEXLIBDIR=.*|LATEXLIBDIR=/usr/share/texmf/tex/latex/hevea|; \
- s|^DESTDIR=.*|DESTDIR=$PKG|" \
+ s|^LATEXLIBDIR=.*|LATEXLIBDIR=/usr/share/texmf/tex/latex/hevea|" \
Makefile
make
-make install
+DESTDIR=$PKG make install
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true