system/adobe-source-serif-pro-font: Updated for version 4.005.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2023-06-26 20:12:57 +02:00 committed by Willy Sudiarto Raharjo
parent e9798aafed
commit 19120e61c3
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 13 additions and 9 deletions

View file

@ -1,6 +1,10 @@
#!/bin/bash
# Slackware build script for adobe-source-serif-pro-font
# Copyright (c) 2012 Daniel LEVAI
# Copyright (c) 2012-2019 Dugan Chen
# Copyright (c) 2019-2023 Matteo Bernardini
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@ -36,7 +40,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=adobe-source-serif-pro-font
VERSION=${VERSION:-4.004}
VERSION=${VERSION:-4.005}
SRCNAM=source-serif
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -58,9 +62,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
unzip $CWD/$SRCNAM-$VERSION.zip
cd $SRCNAM-$VERSION
rm -rf $SRCNAM-${VERSION}_Desktop
unzip $CWD/$SRCNAM-${VERSION}_Desktop.zip
cd $SRCNAM-${VERSION}_Desktop
chown -R root:root .
find . -type d -a -exec chmod 755 {} \+
find . -type f -a -exec chmod 644 {} \+

View file

@ -1,8 +1,8 @@
PRGNAM="adobe-source-serif-pro-font"
VERSION="4.004"
VERSION="4.005"
HOMEPAGE="https://adobe-fonts.github.io/source-serif-pro/"
DOWNLOAD="https://github.com/adobe-fonts/source-serif/releases/download/4.004R/source-serif-4.004.zip"
MD5SUM="1328a84de8221e1f6fcf46626a4f415b"
DOWNLOAD="https://github.com/adobe-fonts/source-serif/releases/download/4.005R/source-serif-4.005_Desktop.zip"
MD5SUM="316acf7250008f2987a3c49325f5ef5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,7 +1,7 @@
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir ]; then
/usr/bin/mkfontscale /usr/share/fonts/OTF
/usr/bin/mkfontdir /usr/share/fonts/OTF
/usr/bin/mkfontscale usr/share/fonts/OTF
/usr/bin/mkfontdir usr/share/fonts/OTF
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f