summaryrefslogtreecommitdiffstats
path: root/graphics/scantailor/scantailor.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/scantailor/scantailor.SlackBuild')
-rw-r--r--graphics/scantailor/scantailor.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild
index a2ccb789a6..f17e95d17e 100644
--- a/graphics/scantailor/scantailor.SlackBuild
+++ b/graphics/scantailor/scantailor.SlackBuild
@@ -5,7 +5,7 @@
# Written by Zhischenko Sergey <gishenko@mail.ru>
PRGNAM=scantailor
-VERSION=${VERSION:-0.9.9.2}
+VERSION=${VERSION:-0.9.11.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,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/icons/hicolor/scalable/apps/
+cp resources/appicon.svg $PKG/usr/share/icons/hicolor/scalable/apps/scantailor.svg
+mkdir -p $PKG/usr/share/applications
+cp $CWD/scantailor.desktop $PKG/usr/share/applications/scantailor.desktop
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING GPL3.txt \
@@ -77,6 +82,7 @@ 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}