summaryrefslogtreecommitdiff
path: root/graphics/scantailor/scantailor.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-20 08:07:48 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-19 20:28:27 -0500
commit69c7496e81e7e062887de34435f0e4e4ac858393 (patch)
tree99f6d284ab17f48e25c6409398457425683a384b /graphics/scantailor/scantailor.SlackBuild
parent6e99c96d477e7e19eedf658f1270868a0568d408 (diff)
downloadslackbuilds-69c7496e81e7e062887de34435f0e4e4ac858393.tar.gz
graphics/scantailor: Updated for version 0.9.11.1.
This commit also adds a .desktop file. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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}