From 50a5097144a2074e9e22e14a2a5d4fa8b18a4fc0 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 3 Jul 2022 21:13:37 +0300 Subject: office/wordgrinder: Updated for version 0.8. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- office/wordgrinder/wordgrinder.SlackBuild | 17 +++++++++++------ office/wordgrinder/wordgrinder.desktop | 8 -------- office/wordgrinder/wordgrinder.info | 8 ++++---- 3 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 office/wordgrinder/wordgrinder.desktop (limited to 'office') diff --git a/office/wordgrinder/wordgrinder.SlackBuild b/office/wordgrinder/wordgrinder.SlackBuild index eae751cac2..f664061b05 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 17037fea81..0000000000 --- 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 f22920922f..fc65ac9f14 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" -- cgit v1.2.3