From 48b817af47fa8a810298300e4e5d319dcc721e27 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Fri, 1 Apr 2022 20:46:28 +1300 Subject: system/noto-emoji: Updated for version 2.034. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/noto-emoji/noto-emoji.SlackBuild | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'system/noto-emoji/noto-emoji.SlackBuild') diff --git a/system/noto-emoji/noto-emoji.SlackBuild b/system/noto-emoji/noto-emoji.SlackBuild index 5d197fdad15f0..20e3f69ea8c60 100644 --- a/system/noto-emoji/noto-emoji.SlackBuild +++ b/system/noto-emoji/noto-emoji.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for noto-emoji -# Copyright 2017-2020 Andrew Clemons, Wellington New Zealand +# Copyright 2017-2020,2022 Andrew Clemons, Wellington New Zealand # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,18 +25,13 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=noto-emoji -VERSION=${VERSION:-20200916} +VERSION=${VERSION:-2.034} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -SRCVERSION=${SRCVERSION:-2020-09-16-unicode13_1} - ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -51,9 +46,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERSION -tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz -cd $PRGNAM-$SRCVERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -62,15 +57,11 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; install -d $PKG/usr/share/fonts/TTF/ - install -m644 fonts/NotoColorEmoji.ttf $PKG/usr/share/fonts/TTF/ -mkdir -p $PKG/etc/fonts/conf.avail/ -install -m 0644 $CWD/51-noto-color-emoji.conf.xml $PKG/etc/fonts/conf.avail/51-noto-color-emoji.conf - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE README.md \ + AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -- cgit v1.2.3