summaryrefslogtreecommitdiffstats
path: root/system/noto-fonts/noto-fonts.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/noto-fonts/noto-fonts.SlackBuild')
-rw-r--r--system/noto-fonts/noto-fonts.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/system/noto-fonts/noto-fonts.SlackBuild b/system/noto-fonts/noto-fonts.SlackBuild
index 406965d9a2..f1f4f70a54 100644
--- a/system/noto-fonts/noto-fonts.SlackBuild
+++ b/system/noto-fonts/noto-fonts.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for noto-fonts.
#
-# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=noto-fonts
VERSION=${VERSION:-20150929}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -60,7 +60,13 @@ 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 hinted/Noto*.ttf $PKG/usr/share/fonts/TTF/
+install -m644 hinted/Noto*.tt[fc] $PKG/usr/share/fonts/TTF/
+install -m644 unhinted/Noto*.tt[fc] $PKG/usr/share/fonts/TTF/
+
+rm $PKG/usr/share/fonts/TTF/NotoSans{,UI}-*.ttf
+
+mkdir -p $PKG/etc/fonts/conf.avail
+install -m644 $CWD/*.conf $PKG/etc/fonts/conf.avail/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a FAQ.md LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/