summaryrefslogtreecommitdiff
path: root/office/vym
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-11-13 11:58:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-17 07:15:00 +0700
commit7d2acbc69e0a31b71a4b87c204ca32b93840bc04 (patch)
tree31a640595a724d9e24393b6f8e9f0bca41c5902b /office/vym
parentd687b027dbfb8d11f3f5e970b90559e30b7c3879 (diff)
downloadslackbuilds-7d2acbc69e0a31b71a4b87c204ca32b93840bc04.tar.gz
office/vym: Updated for version 2.8.8
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/vym')
-rw-r--r--office/vym/vym.SlackBuild37
-rw-r--r--office/vym/vym.info6
2 files changed, 23 insertions, 20 deletions
diff --git a/office/vym/vym.SlackBuild b/office/vym/vym.SlackBuild
index 478c35a58a..00be142f7c 100644
--- a/office/vym/vym.SlackBuild
+++ b/office/vym/vym.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for vym
-# Copyright 2008-2012 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2008-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,21 +11,21 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=vym
-VERSION=${VERSION:-2.2.4}
+VERSION=${VERSION:-2.8.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,13 +83,17 @@ qmake \
QMAKE_CFLAGS+="$SLKCFLAGS" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
PREFIX=/usr \
- DOCDIR=/usr/doc/$PRGNAM-$VERSION
+ DOCDIR=/usr/doc/$PRGNAM-$VERSION \
+ DATADIR=/usr/share/vym
make
make install INSTALL_ROOT=$PKG
-mkdir -p $PKG/usr/share/{pixmaps,applications,mimelnk/application}
-install -m 0644 icons/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png
+mkdir -p $PKG/usr/man/man1
+install -m644 doc/vym.1.gz $PKG/usr/man/man1/
+
+ mkdir -p $PKG/usr/share/{pixmaps,applications,mimelnk/application}
+install -m 0644 icons/$PRGNAM-128x128.png $PKG/usr/share/pixmaps/$PRGNAM.png
install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
install -m 0644 $CWD/x-$PRGNAM.desktop $PKG/usr/share/mimelnk/application/
@@ -97,8 +101,7 @@ 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/doc/$PRGNAM-$VERSION
-cp -r doc INSTALL.txt LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/vym.pdf
+cp -r doc/*.pdf LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/office/vym/vym.info b/office/vym/vym.info
index ac4169ce81..bef8e0e5ba 100644
--- a/office/vym/vym.info
+++ b/office/vym/vym.info
@@ -1,8 +1,8 @@
PRGNAM="vym"
-VERSION="2.2.4"
+VERSION="2.8.8"
HOMEPAGE="http://www.insilmaril.de/vym/"
-DOWNLOAD="http://downloads.sourceforge.net/vym/vym-2.2.4.tar.bz2"
-MD5SUM="8cc2bc61b337202eb5ec6c331d87bbae"
+DOWNLOAD="http://downloads.sourceforge.net/vym/vym-2.8.8.tar.bz2"
+MD5SUM="00df3283af5e3451348edcc6f3b00427"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""