summaryrefslogtreecommitdiffstats
path: root/graphics/dblatex/dblatex.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dblatex/dblatex.SlackBuild')
-rw-r--r--graphics/dblatex/dblatex.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/dblatex/dblatex.SlackBuild b/graphics/dblatex/dblatex.SlackBuild
index c91366699c..64258e67e8 100644
--- a/graphics/dblatex/dblatex.SlackBuild
+++ b/graphics/dblatex/dblatex.SlackBuild
@@ -5,7 +5,7 @@
# Written by Vincent Batts, vbatts@hashbangbash.com
PRGNAM=dblatex
-VERSION=${VERSION:-0.3}
+VERSION=${VERSION:-0.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -51,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix build
+patch -p0 -i $CWD/dblatex-0.3.4-build-fix.patch
+
python setup.py build
python setup.py install --root=$PKG