summaryrefslogtreecommitdiffstats
path: root/system/adobe-source-serif-pro-font
diff options
context:
space:
mode:
author Matteo Bernardini2023-06-26 20:12:57 +0200
committer Willy Sudiarto Raharjo2023-07-02 18:21:28 +0200
commit19120e61c3ff7876434c189f36f66ef193da2058 (patch)
treebb71bc8049478b3b603ca6837772c989a7842143 /system/adobe-source-serif-pro-font
parente9798aafedef53a1f9f9202b516194d34cd75186 (diff)
downloadslackbuilds-19120e61c3ff7876434c189f36f66ef193da2058.tar.gz
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>
Diffstat (limited to 'system/adobe-source-serif-pro-font')
-rw-r--r--system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.SlackBuild12
-rw-r--r--system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.info6
-rw-r--r--system/adobe-source-serif-pro-font/doinst.sh4
3 files changed, 13 insertions, 9 deletions
diff --git a/system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.SlackBuild b/system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.SlackBuild
index 9007e363cd..edea72eae8 100644
--- a/system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.SlackBuild
+++ b/system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.SlackBuild
@@ -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 {} \+
diff --git a/system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.info b/system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.info
index 280483a624..b618cc08ca 100644
--- a/system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.info
+++ b/system/adobe-source-serif-pro-font/adobe-source-serif-pro-font.info
@@ -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=""
diff --git a/system/adobe-source-serif-pro-font/doinst.sh b/system/adobe-source-serif-pro-font/doinst.sh
index 011ed452ee..3bca1b9b72 100644
--- a/system/adobe-source-serif-pro-font/doinst.sh
+++ b/system/adobe-source-serif-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