summaryrefslogtreecommitdiff
path: root/office/sigil/sigil.SlackBuild
diff options
context:
space:
mode:
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 \