academic/Gridcoin-Research: Updated for version 4.0.5.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edward W. Koenig 2019-09-14 11:28:07 +07:00 committed by Willy Sudiarto Raharjo
parent b232a23259
commit 6113d4a756
3 changed files with 13 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for Gridcoin-Research
# Copyright 2018 Edward W. Koenig, Vancouver, WA, USA
# Copyright 2018-2019 Edward W. Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -22,9 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Gridcoin-Research
VERSION=${VERSION:-4.0.4.0}
VERSION=${VERSION:-4.0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -117,17 +116,16 @@ cp -a $CWD/gridcoinresearch.conf $PKG/etc/$PRGNAM
mkdir -p $PKG/usr/share/pixmaps $PKG/usr/share/applications
cp -a $TMP/$PRGNAM-$VERSION/share/pixmaps/* $PKG/usr/share/pixmaps
cp -a $CWD/Gridcoin-Research.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/doc
# we can delete the redundant man pages
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/gridcoinresearch.*
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/gridcoinresearchd.*
cp -a \
COPYING CHANGELOG.md README.md VULNERABILITY_RESPONSE_PROCESS.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a doc/* $PKG/usr/doc/$PRGNAM-$VERSION/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# we can delete the redundant man pages
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/gridcoinresearch.*
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/gridcoinresearchd.*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="Gridcoin-Research"
VERSION="4.0.4.0"
VERSION="4.0.5.0"
HOMEPAGE="https://gridcoin.us/"
DOWNLOAD="https://github.com/gridcoin-community/Gridcoin-Research/archive/4.0.4.0/Gridcoin-Research-4.0.4.0.tar.gz"
MD5SUM="21c4360c6f0452c8eac8796b32d060e7"
DOWNLOAD="https://github.com/gridcoin-community/Gridcoin-Research/archive/4.0.5.0/Gridcoin-Research-4.0.5.0.tar.gz"
MD5SUM="91c7c7aef2d8bee28936a3d0171eb51e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,3 +1,8 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi