graphics/dvisvgm: Fix DOWNLOAD url + update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Igor Drozdovsky 2015-11-11 23:20:59 +07:00 committed by Willy Sudiarto Raharjo
parent 17b41ae5dd
commit adc2bd6b95
3 changed files with 8 additions and 16 deletions

View file

@ -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

View file

@ -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}

View file

@ -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=""