diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-07-03 21:13:37 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 10:06:17 +0700 |
commit | 50a5097144a2074e9e22e14a2a5d4fa8b18a4fc0 (patch) | |
tree | de72d47c56c7f3b5b115cb2a2317eedc07d5490e /office/wordgrinder | |
parent | b6d015953b0fe884056c7782da61495bfe4872c8 (diff) |
office/wordgrinder: Updated for version 0.8.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/wordgrinder')
-rw-r--r-- | office/wordgrinder/wordgrinder.SlackBuild | 17 | ||||
-rw-r--r-- | office/wordgrinder/wordgrinder.desktop | 8 | ||||
-rw-r--r-- | office/wordgrinder/wordgrinder.info | 8 |
3 files changed, 15 insertions, 18 deletions
diff --git a/office/wordgrinder/wordgrinder.SlackBuild b/office/wordgrinder/wordgrinder.SlackBuild index eae751cac2642..f664061b05b2e 100644 --- a/office/wordgrinder/wordgrinder.SlackBuild +++ b/office/wordgrinder/wordgrinder.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for wordgrinder -# Copyright 2018 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2018-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,8 +29,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wordgrinder -VERSION=${VERSION:-0.7.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.8} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -82,7 +82,8 @@ find -L . \ # Fix of paths for Slackware sed -i '7s!$(HOME)!'$PKG'/usr!' Makefile -sed -i 's!share\/!!' Makefile +sed -i '10s!SHAREDIR!PREFIX!' Makefile +sed -i '11s!SHAREDIR!PREFIX!' Makefile # 20220218 bkw: Slackware 15.0's ncurses headers don't define KEY_EVENT, # and wordgrinder doesn't seem to actually use it anyway. @@ -90,12 +91,16 @@ sed -i '/KEY_EVENT/d' src/c/arch/unix/cursesw/dpy.c make CFLAGS="$SLKCFLAGS" make install DESTDIR=$PKG -gzip -9 $PKG/usr/man/man*/* +gzip -9 $PKG/usr/man/man1/* + +# Fix doc and mime paths +mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/usr/share/mime-info $PKG/usr/share/mime/ # 20220218 bkw: binaries are stripped by default mkdir -p $PKG/usr/share/applications -install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop +install -D -m644 extras/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/share/pixmaps/ install -D -m644 extras/icon.png $PKG/usr/share/pixmaps/${PRGNAM}.png diff --git a/office/wordgrinder/wordgrinder.desktop b/office/wordgrinder/wordgrinder.desktop deleted file mode 100644 index 17037fea812c2..0000000000000 --- a/office/wordgrinder/wordgrinder.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=WordGrinder -Comment=A word processor for processing words -Exec=xwordgrinder -Icon=/usr/share/pixmaps/wordgrinder.png -Terminal=false -Type=Application -Categories=Office; diff --git a/office/wordgrinder/wordgrinder.info b/office/wordgrinder/wordgrinder.info index f22920922faf9..fc65ac9f14637 100644 --- a/office/wordgrinder/wordgrinder.info +++ b/office/wordgrinder/wordgrinder.info @@ -1,10 +1,10 @@ PRGNAM="wordgrinder" -VERSION="0.7.2" +VERSION="0.8" HOMEPAGE="https://cowlark.com/wordgrinder/" -DOWNLOAD="https://github.com/davidgiven/wordgrinder/archive/0.7.2/wordgrinder-0.7.2.tar.gz" -MD5SUM="4c754fddfe29c2038a1c96d38ba49c74" +DOWNLOAD="https://github.com/davidgiven/wordgrinder/archive/0.8/wordgrinder-0.8.tar.gz" +MD5SUM="8a21e2ee18a9372741bb80b270588817" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="lua52 lua-filesystem" +REQUIRES="" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" |