summaryrefslogtreecommitdiff
path: root/graphics/dvisvgm/dvisvgm.SlackBuild
diff options
context:
space:
mode:
authorIgor Drozdovsky <igor29768@gmail.com>2015-11-11 23:20:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-11 23:32:25 +0700
commitadc2bd6b95f744a4e3193e722c70620e92813a1d (patch)
tree96771cd886e3ef469495fb8145ec194e02e4f1e6 /graphics/dvisvgm/dvisvgm.SlackBuild
parent17b41ae5ddb02c019bbbfd5eb7451bbf4e27cd41 (diff)
downloadslackbuilds-adc2bd6b95f744a4e3193e722c70620e92813a1d.tar.gz
graphics/dvisvgm: Fix DOWNLOAD url + update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/dvisvgm/dvisvgm.SlackBuild')
-rw-r--r--graphics/dvisvgm/dvisvgm.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/dvisvgm/dvisvgm.SlackBuild b/graphics/dvisvgm/dvisvgm.SlackBuild
index 6d8d210f00..cdf1dfc053 100644
--- a/graphics/dvisvgm/dvisvgm.SlackBuild
+++ b/graphics/dvisvgm/dvisvgm.SlackBuild
@@ -1,8 +1,7 @@
#!/bin/sh
-# Slackware build script for <appname>
+# Slackware build script for dvisvgm
-# Copyright <year> <you> <where you live>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -71,12 +70,15 @@ find -L . \
# Libkpathsea check...
if [ ! -e /usr/include/kpathsea ]; then
- ln -s /usr/share/texmf/include/kpathsea /usr/include/kpathsea
+# ln -s /usr/share/texmf/include/kpathsea /usr/include/kpathsea
+ export CPPFLAGS="${CPPFLAGS} -I/usr/share/texmf/include/"
fi
if [ ! -e /usr/lib${LIBDIRSUFFIX}/libkpathsea.a ]; then
- ln -s /usr/share/texmf/lib/libkpathsea.a /usr/lib${LIBDIRSUFFIX}/libkpathsea.a
- ln -s /usr/share/texmf/lib/libkpathsea.la /usr/lib${LIBDIRSUFFIX}/libkpathsea.la
+# ln -s /usr/share/texmf/lib/libkpathsea.a /usr/lib${LIBDIRSUFFIX}/libkpathsea.a
+# ln -s /usr/share/texmf/lib/libkpathsea.la /usr/lib${LIBDIRSUFFIX}/libkpathsea.la
+ export LIBS="${LIBS} -l/usr/share/texmf/lib/"
+ export LDFLAGS="${LDFLAGS} -L/usr/share/texmf/lib/"
fi
CFLAGS="$SLKCFLAGS" \
@@ -105,7 +107,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}