desktop/Surfn: Updated for version 20.12.7.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Leo C 2021-01-02 00:12:12 +00:00 committed by Willy Sudiarto Raharjo
parent 6fa5c0a548
commit 24c29047c4
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 18 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for Surfn
# Copyright 2018-2019 Leonardo Citrolo, Italy
# Copyright 2018-2020 Leonardo Citrolo, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Surfn
VERSION=${VERSION:-9.7.1}
SRCVER=${SRCVER:-20.12-7}
VERSION=${VERSION:-$(echo $SRCVER | tr - .)}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -39,20 +40,27 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $PRGNAM-$SRCVER
# It's better not to be verbose, there's an awful lot of files to extract
echo "Extracting files..."
tar xf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
chown -R root:root .
mkdir -p $PKG/usr/share/icons
cp -a surfn-icons/$PRGNAM* $PKG/usr/share/icons
find $PKG/usr/share/icons \
\( -name create-new-icon-theme.cache.sh -o -name icon-theme.cache \) -exec rm -f {} \;
\( -name CREDITS \
-o -name LICENSE \
-o -name create-new-icon-theme.cache.sh \
-o -name icon-theme.cache \) -exec rm -f {} \;
rm -f $PKG/usr/share/icons/Surfn/changelog \
$PKG/usr/share/icons/Surfn/LICENSE.txt
find $PKG/usr/share/icons -type d -exec chmod 755 {} \;
find $PKG/usr/share/icons -type f -exec chmod 644 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md \
cp -a surfn-icons/Surfn/{changelog,CREDITS,LICENSE.txt} README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="Surfn"
VERSION="9.7.1"
VERSION="20.12.7"
HOMEPAGE="https://github.com/erikdubois/Surfn"
DOWNLOAD="https://github.com/erikdubois/Surfn/archive/9.7.1/Surfn-9.7.1.tar.gz"
MD5SUM="de17cb11336eb9ed647734a25b6ff321"
DOWNLOAD="https://github.com/erikdubois/Surfn/archive/20.12-7/Surfn-20.12-7.tar.gz"
MD5SUM="e9a0311e36c591118a4a968a9371e24d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""