aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild17
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info6
-rw-r--r--system/adobe-source-sans-pro-font/doinst.sh4
3 files changed, 15 insertions, 12 deletions
diff --git a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild
index b0111ec76e916..a9fc867c1b142 100644
--- a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild
+++ b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild
@@ -1,7 +1,10 @@
#!/bin/bash
+# Slackware build script for adobe-source-sans-pro-font
+
# Copyright (c) 2012 Daniel LEVAI
-# Copyright (c) 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# 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
@@ -24,7 +27,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20220212 bkw: Modified by SlackBuilds.org, updated for v3.042R.
+# 20220212 bkw: Modified by SlackBuilds.org, updated for v3.046R.
# Note to whoever's updating this in the future: don't get the source
# tarball or zip file (with the archive/refs/tags URL), it doesn't
# contain the compiled OTF fonts (only the source, which we don't have
@@ -35,7 +38,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=adobe-source-sans-pro-font
SRCNAM=source-sans
-VERSION=${VERSION:-3.046R}
+VERSION=${VERSION:-3.052}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,11 +59,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
+rm -rf $SRCNAM-${VERSION}R
# 20220212 bkw: careful, warrior! no top-level dir in zip file!
-mkdir $SRCNAM-$VERSION
-cd $SRCNAM-$VERSION
-unzip $CWD/OTF-$SRCNAM-$VERSION.zip
+mkdir $SRCNAM-${VERSION}R
+cd $SRCNAM-${VERSION}R
+unzip $CWD/OTF-$SRCNAM-${VERSION}R.zip
chown -R root:root .
find . -type d -a -exec chmod 755 {} \+
find . -type f -a -exec chmod 644 {} \+
diff --git a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
index 63d5d95938b49..4f98e7b309f91 100644
--- a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
+++ b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
@@ -1,8 +1,8 @@
PRGNAM="adobe-source-sans-pro-font"
-VERSION="3.046R"
+VERSION="3.052"
HOMEPAGE="http://adobe-fonts.github.io/source-sans-pro"
-DOWNLOAD="https://github.com/adobe-fonts/source-sans/releases/download/3.046R/OTF-source-sans-3.046R.zip"
-MD5SUM="213efaabd828bbc699c3a97c90e2ee40"
+DOWNLOAD="https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip"
+MD5SUM="57b037a28ba098b9829ef5b70b992d98"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/adobe-source-sans-pro-font/doinst.sh b/system/adobe-source-sans-pro-font/doinst.sh
index 07732c33c3be4..522e1a9f94877 100644
--- a/system/adobe-source-sans-pro-font/doinst.sh
+++ b/system/adobe-source-sans-pro-font/doinst.sh
@@ -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