diff options
Diffstat (limited to 'desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild')
-rw-r--r-- | desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild b/desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild index ea86cceb3a1a4..b28df94d4e807 100644 --- a/desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild +++ b/desktop/numix-icon-theme-square/numix-icon-theme-square.SlackBuild @@ -4,6 +4,7 @@ # # Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil. # Copyright 2020-2022 Isaac Yu <isaacyu1@isaacyu1.com> +# Copyright 2023 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM="numix-icon-theme-square" -VERSION=${VERSION:-20220711} +VERSION=${VERSION:-23.10.09} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -45,16 +46,14 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -SRCVER=${SRCVER:-22.07.11} - set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVER -tar xvf $CWD/${PRGNAM}-${SRCVER}.tar.gz -cd $PRGNAM-$SRCVER +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . mkdir -p $PKG/usr/share/icons @@ -68,10 +67,10 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh -cd $PKG # 20200407 bkw: makepkg's symlink search and doinst.sh creation doesn't # scale well. This makes the build complete much faster, and create an # identical doinst.sh. +cd $PKG find . -type l \ -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh |