summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/noto-fonts/noto-fonts.SlackBuild22
-rw-r--r--system/noto-fonts/noto-fonts.info6
2 files changed, 12 insertions, 16 deletions
diff --git a/system/noto-fonts/noto-fonts.SlackBuild b/system/noto-fonts/noto-fonts.SlackBuild
index f1f4f70a54..5973ce2837 100644
--- a/system/noto-fonts/noto-fonts.SlackBuild
+++ b/system/noto-fonts/noto-fonts.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=noto-fonts
-VERSION=${VERSION:-20150929}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-20170428}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -34,21 +34,16 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-SRCVER="2015-09-29-license-adobe"
+SRCNAM=${SRCNAM:-420acaa025c84985ac6b7f457420e15909af1b51}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER $PRGNAM-$VERSION
-if [ -f $CWD/v$SRCVER.tar.gz ]; then
- tar xvf $CWD/v$SRCVER.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf}
-else
- tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf}
-fi
-mv $PRGNAM-$SRCVER $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCNAM
+tar xvf $CWD/$PRGNAM-$SRCNAM.tar.gz --exclude=hinted/{Arimo*.ttf,Cousine*.ttf,Tinos*.ttf}
+cd $PRGNAM-$SRCNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -63,13 +58,14 @@ install -d $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
+# Already in NotoSans-*.ttc
+rm -f $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/
+cp -a FAQ.md issue_template.md LICENSE NEWS 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/noto-fonts/noto-fonts.info b/system/noto-fonts/noto-fonts.info
index 19547e2c16..771bfc590a 100644
--- a/system/noto-fonts/noto-fonts.info
+++ b/system/noto-fonts/noto-fonts.info
@@ -1,8 +1,8 @@
PRGNAM="noto-fonts"
-VERSION="20150929"
+VERSION="20170428"
HOMEPAGE="https://github.com/googlei18n/noto-fonts"
-DOWNLOAD="https://github.com/googlei18n/noto-fonts/archive/v2015-09-29-license-adobe.tar.gz"
-MD5SUM="fc043c92857265622f1f6562a71a81fe"
+DOWNLOAD="https://github.com/googlei18n/noto-fonts/archive/420acaa025c84985ac6b7f457420e15909af1b51/noto-fonts-420acaa025c84985ac6b7f457420e15909af1b51.tar.gz"
+MD5SUM="86369bfd5bbe924513308dc3e243a3ff"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""