mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
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>
This commit is contained in:
parent
b6d015953b
commit
50a5097144
3 changed files with 15 additions and 18 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue