From 24c29047c42b1863c0f9f80e79e37a2b64c72fbf Mon Sep 17 00:00:00 2001 From: Leo C Date: Sat, 2 Jan 2021 00:12:12 +0000 Subject: desktop/Surfn: Updated for version 20.12.7. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- desktop/Surfn/Surfn.SlackBuild | 22 +++++++++++++++------- desktop/Surfn/Surfn.info | 6 +++--- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/desktop/Surfn/Surfn.SlackBuild b/desktop/Surfn/Surfn.SlackBuild index a4896dc5c7..141fe6cdca 100644 --- a/desktop/Surfn/Surfn.SlackBuild +++ b/desktop/Surfn/Surfn.SlackBuild @@ -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 diff --git a/desktop/Surfn/Surfn.info b/desktop/Surfn/Surfn.info index 365c765a17..a8415d2672 100644 --- a/desktop/Surfn/Surfn.info +++ b/desktop/Surfn/Surfn.info @@ -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="" -- cgit v1.2.3