summaryrefslogtreecommitdiff
path: root/office/sigil/sigil.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-07-25 20:03:01 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-07-25 20:03:01 -0500
commitb3ce1b797de851ce59fdd3af0b0732d2006e2adb (patch)
tree44ff9ee3f6d5bf51822bf7740a0c743b1b36de31 /office/sigil/sigil.SlackBuild
parent743e87c5392068826b4b41170dfa3515c80d01e6 (diff)
downloadslackbuilds-b3ce1b797de851ce59fdd3af0b0732d2006e2adb.tar.gz
office/sigil: Updated for version 0.5.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/sigil/sigil.SlackBuild')
-rw-r--r--office/sigil/sigil.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/office/sigil/sigil.SlackBuild b/office/sigil/sigil.SlackBuild
index da4528ef7b..8f5b804ba0 100644
--- a/office/sigil/sigil.SlackBuild
+++ b/office/sigil/sigil.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=sigil
-VERSION=0.4.2
+VERSION=${VERSION:-0.5.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,7 +43,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
unzip $CWD/$SRCNAM-$VERSION-Code.zip
@@ -72,12 +72,11 @@ cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/share/applications
-install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications
for i in 16 32 48 128 256 512; do
install -D -m 0644 src/Sigil/Resource_Files/icon/app_icon_${i}.png \
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/$PRGNAM.png
done
+rm -rf $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \