aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/scantailor/doinst.sh3
-rw-r--r--graphics/scantailor/scantailor.SlackBuild8
-rw-r--r--graphics/scantailor/scantailor.desktop11
-rw-r--r--graphics/scantailor/scantailor.info6
4 files changed, 24 insertions, 4 deletions
diff --git a/graphics/scantailor/doinst.sh b/graphics/scantailor/doinst.sh
new file mode 100644
index 0000000000000..01ca62b34190f
--- /dev/null
+++ b/graphics/scantailor/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi \ No newline at end of file
diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild
index a2ccb789a6742..f17e95d17ea76 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}
diff --git a/graphics/scantailor/scantailor.desktop b/graphics/scantailor/scantailor.desktop
new file mode 100644
index 0000000000000..2540a45c4c511
--- /dev/null
+++ b/graphics/scantailor/scantailor.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Scan Tailor
+Comment=An interactive post-processing tool for scanned pages.
+Icon=scantailor.svg
+Exec=scantailor %u
+TryExec=scantailor
+Terminal=false
+Type=Application
+StartupNotify=true
+Categories=Graphics;
+
diff --git a/graphics/scantailor/scantailor.info b/graphics/scantailor/scantailor.info
index 9f87f72052a02..da5f0d1de280f 100644
--- a/graphics/scantailor/scantailor.info
+++ b/graphics/scantailor/scantailor.info
@@ -1,8 +1,8 @@
PRGNAM="scantailor"
-VERSION="0.9.9.2"
+VERSION="0.9.11.1"
HOMEPAGE="http://scantailor.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/scantailor/scantailor-0.9.9.2.tar.gz"
-MD5SUM="0944b12c936019fe12269c7a356d60d0"
+DOWNLOAD="http://downloads.sourceforge.net/scantailor/scantailor-0.9.11.1.tar.gz"
+MD5SUM="6cdca1b6d1dafd022ea94b4800dad340"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""