desktop/numix-icon-theme: Fix VERSION, speed up build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-04-06 16:57:14 -04:00 committed by Willy Sudiarto Raharjo
parent 7f2ed4a342
commit 0997ccc167
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -23,6 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20200406 bkw: modified by SlackBuilds.org
PRGNAM="numix-icon-theme"
VERSION=${VERSION:-20200320}
BUILD=${BUILD:-1}
@ -58,6 +60,11 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
# 20200406 bkw: create doinst.sh. Normally makepkg does this, but it's
# *painfully* slow and we have over 17,000 symlinks to process. It takes
# 15 minutes for makepkg to run on my test system. The find command
# below runs in 1.5 seconds and creates an identical doinst.sh. This is
# a 1000x speedup.
cd $PKG
find . -type l \
-printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \