diff options
author | Leo C <leoc@gmx.com> | 2021-01-02 00:12:12 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-02 10:48:28 +0700 |
commit | 24c29047c42b1863c0f9f80e79e37a2b64c72fbf (patch) | |
tree | ac98072a60338da83076f4ae14c363f85b972e5f /desktop | |
parent | 6fa5c0a548f7f5593c34ae6fa8f5c93d4a6cfcf9 (diff) |
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>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/Surfn/Surfn.SlackBuild | 22 | ||||
-rw-r--r-- | 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 a4896dc5c74c..141fe6cdcae1 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 365c765a1719..a8415d26728c 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="" |