summaryrefslogtreecommitdiff
path: root/misc/chm2pdf/chm2pdf.SlackBuild
diff options
context:
space:
mode:
authorOzan Türkyılmaz <ozan.turkyilmaz@gmail.com>2011-05-18 08:22:48 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-05-19 08:33:05 -0500
commit490559255d1d482287d604593e78ef9299e78775 (patch)
tree630fb8cfd311a03e9c4e856de97222f9bb09449e /misc/chm2pdf/chm2pdf.SlackBuild
parent834e79ae023e37ca4386250a785c89622d97b89a (diff)
downloadslackbuilds-490559255d1d482287d604593e78ef9299e78775.tar.gz
misc/chm2pdf: Patched to fix problem with file name with spaces.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'misc/chm2pdf/chm2pdf.SlackBuild')
-rw-r--r--misc/chm2pdf/chm2pdf.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/chm2pdf/chm2pdf.SlackBuild b/misc/chm2pdf/chm2pdf.SlackBuild
index 58f2513a89..a5911eb4f4 100644
--- a/misc/chm2pdf/chm2pdf.SlackBuild
+++ b/misc/chm2pdf/chm2pdf.SlackBuild
@@ -27,15 +27,13 @@
PRGNAM=chm2pdf
VERSION=${VERSION:-0.9.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -65,6 +63,9 @@ find . \
# Patch from Gentoo: http://bugs.gentoo.org/205208
cat $CWD/patches/tempdir.patch | patch -p1
+# patch to fix problem with file name with spaces
+cat $CWD/patches/filename.patch | patch -p1
+
python setup.py build
python setup.py install --root $PKG