diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-04-01 20:46:28 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:18:43 +0700 |
commit | 48b817af47fa8a810298300e4e5d319dcc721e27 (patch) | |
tree | 640a1f2a6270b1712c23e02452cdee67711d09b4 /system/noto-emoji/noto-emoji.SlackBuild | |
parent | e913a2c4c6e5aa83afe90310eaa68d75e66f52f5 (diff) |
system/noto-emoji: Updated for version 2.034.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/noto-emoji/noto-emoji.SlackBuild')
-rw-r--r-- | system/noto-emoji/noto-emoji.SlackBuild | 21 |
1 files changed, 6 insertions, 15 deletions
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 |