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>
This commit is contained in:
Andrew Clemons 2022-04-01 20:46:28 +13:00 committed by Willy Sudiarto Raharjo
parent e913a2c4c6
commit 48b817af47
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 9 additions and 23 deletions

View File

@ -1,4 +1 @@
noto-emoji - Color and Black-and-White Noto emoji fonts
It seems to work well with chromium and gajim (firefox since version
52 bundles its own emoji font)

View File

@ -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

View File

@ -1,10 +1,8 @@
PRGNAM="noto-emoji"
VERSION="20200916"
VERSION="2.034"
HOMEPAGE="https://www.google.com/get/noto/help/emoji/"
DOWNLOAD="https://github.com/googlei18n/noto-emoji/archive/v2020-09-16-unicode13_1/noto-emoji-2020-09-16-unicode13_1.tar.gz \
https://gist.githubusercontent.com/hexchain/47f550472e79d0805060/raw/d9ecd5a5fcb901bcfb75115f4b602f6c1d3020c1/51-noto-color-emoji.conf.xml"
MD5SUM="c32147c255b366c28a2c4d702e2cfda2 \
e2d9cf0460fa0315a8da5d8dedacf702"
DOWNLOAD="https://github.com/googlei18n/noto-emoji/archive/v2.034/noto-emoji-2.034.tar.gz"
MD5SUM="6fc89f4ffbf8c9be68e94f5d99d02090"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""