From adc2bd6b95f744a4e3193e722c70620e92813a1d Mon Sep 17 00:00:00 2001 From: Igor Drozdovsky Date: Wed, 11 Nov 2015 23:20:59 +0700 Subject: graphics/dvisvgm: Fix DOWNLOAD url + update script. Signed-off-by: Willy Sudiarto Raharjo --- graphics/dvisvgm/doinst.sh | 9 --------- graphics/dvisvgm/dvisvgm.SlackBuild | 13 +++++++------ graphics/dvisvgm/dvisvgm.info | 2 +- 3 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 graphics/dvisvgm/doinst.sh (limited to 'graphics') 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 +# Slackware build script for dvisvgm -# Copyright # 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="" -- cgit v1.2.3