aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/ttf-crosscorefonts/README2
-rw-r--r--system/ttf-crosscorefonts/slack-desc12
-rw-r--r--system/ttf-crosscorefonts/ttf-crosscorefonts.SlackBuild17
-rw-r--r--system/ttf-crosscorefonts/ttf-crosscorefonts.info8
4 files changed, 21 insertions, 18 deletions
diff --git a/system/ttf-crosscorefonts/README b/system/ttf-crosscorefonts/README
index 7d079c23eaf9..9cdcae52974c 100644
--- a/system/ttf-crosscorefonts/README
+++ b/system/ttf-crosscorefonts/README
@@ -1,4 +1,4 @@
-ttf-crosscorefonts (Fonts created by Google for ChromeOS)
+ttf-crosscorefonts (Chrome OS core fonts)
Google has created a set of fonts for its ChromeOS Operating system.
diff --git a/system/ttf-crosscorefonts/slack-desc b/system/ttf-crosscorefonts/slack-desc
index 61f303930b89..c381a9a039ad 100644
--- a/system/ttf-crosscorefonts/slack-desc
+++ b/system/ttf-crosscorefonts/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ttf-crosscorefonts: ttf-crosscorefonts (Fonts created by Google for ChromeOS)
+ttf-crosscorefonts: ttf-crosscorefonts (Chrome OS core fonts)
+ttf-crosscorefonts:
+ttf-crosscorefonts: Google has created a set of fonts for its ChromeOS
+ttf-crosscorefonts: Operating system.
+ttf-crosscorefonts:
+ttf-crosscorefonts: Home page: https://github.com/googlei18n/noto-fonts
ttf-crosscorefonts:
-ttf-crosscorefonts: Google has created a set of fonts for its ChromeOS Operating system.
ttf-crosscorefonts:
-ttf-crosscorefonts: The three standard ones closely mimic the most popular ones for the
-ttf-crosscorefonts: Windows platform and Linux's so-called Liberation fonts but are
-ttf-crosscorefonts: available under an OpenFont license.
ttf-crosscorefonts:
-ttf-crosscorefonts: Home page: https://fonts.google.com/
ttf-crosscorefonts:
ttf-crosscorefonts:
diff --git a/system/ttf-crosscorefonts/ttf-crosscorefonts.SlackBuild b/system/ttf-crosscorefonts/ttf-crosscorefonts.SlackBuild
index 3087706687b0..4b3b9d9ff3e2 100644
--- a/system/ttf-crosscorefonts/ttf-crosscorefonts.SlackBuild
+++ b/system/ttf-crosscorefonts/ttf-crosscorefonts.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for ttf-crosscorefonts.
#
-# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2016-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ttf-crosscorefonts
-VERSION=${VERSION:-1.31.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20180111}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -34,7 +34,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRCNAM="croscorefonts"
+SRCNAM=${SRCNAM:-noto-fonts}
+SRCVER=${SRCVER:-73683215d976115b8f0f11f3e4e61bb116709924}
set -e
@@ -42,8 +43,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-mv $SRCNAM-$VERSION $PRGNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz --exclude=alpha --exclude=hinted/{Noto*.ttf,Noto*.ttc} \
+--exclude=images --exclude=unhinted
+mv $SRCNAM-$SRCVER $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -56,9 +58,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
install -d $PKG/usr/share/fonts/TTF/
-install -m644 *.ttf $PKG/usr/share/fonts/TTF/
+install -m644 hinted/*.ttf $PKG/usr/share/fonts/TTF/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp FAQ.md issue_template.md LICENSE NEWS.md README.md $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/ttf-crosscorefonts/ttf-crosscorefonts.info b/system/ttf-crosscorefonts/ttf-crosscorefonts.info
index 6e5116d86bdf..2339147bea27 100644
--- a/system/ttf-crosscorefonts/ttf-crosscorefonts.info
+++ b/system/ttf-crosscorefonts/ttf-crosscorefonts.info
@@ -1,8 +1,8 @@
PRGNAM="ttf-crosscorefonts"
-VERSION="1.31.0"
-HOMEPAGE="https://fonts.google.com/"
-DOWNLOAD="http://gsdview.appspot.com/chromeos-localmirror/distfiles/croscorefonts-1.31.0.tar.bz2"
-MD5SUM="3c90ac73fd13bd79684d9dc073840328"
+VERSION="20180111"
+HOMEPAGE="https://github.com/googlei18n/noto-fonts"
+DOWNLOAD="https://github.com/googlei18n/noto-fonts/archive/73683215d976115b8f0f11f3e4e61bb116709924/noto-fonts-73683215d976115b8f0f11f3e4e61bb116709924.tar.gz"
+MD5SUM="1b6f6c0e8a1721a0457522867357208a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""