summaryrefslogtreecommitdiff
path: root/graphics/dvisvgm
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
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')
-rw-r--r--graphics/dvisvgm/doinst.sh9
-rw-r--r--graphics/dvisvgm/dvisvgm.SlackBuild13
-rw-r--r--graphics/dvisvgm/dvisvgm.info2
3 files changed, 8 insertions, 16 deletions
diff --git a/graphics/dvisvgm/doinst.sh b/graphics/dvisvgm/doinst.sh
deleted file mode 100644
index 598b54425f..0000000000
--- a/graphics/dvisvgm/doinst.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-
-schema_install blah.schemas
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}
diff --git a/graphics/dvisvgm/dvisvgm.info b/graphics/dvisvgm/dvisvgm.info
index 12d2b68c45..92ee744c02 100644
--- a/graphics/dvisvgm/dvisvgm.info
+++ b/graphics/dvisvgm/dvisvgm.info
@@ -1,7 +1,7 @@
PRGNAM="dvisvgm"
VERSION="1.4"
HOMEPAGE="http://dvisvgm.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/dvisvgm/files/dvisvgm/1.4/dvisvgm-1.4.tar.gz"
+DOWNLOAD="http://sourceforge.net/projects/dvisvgm/files/dvisvgm/old-releases/1.4/dvisvgm-1.4.tar.gz"
MD5SUM="5ba576bbd664f8b04e4db1e4efd3a541"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""