mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
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:
parent
e9798aafed
commit
19120e61c3
3 changed files with 13 additions and 9 deletions
|
@ -1,6 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Slackware build script for adobe-source-serif-pro-font
|
||||||
|
|
||||||
# Copyright (c) 2012 Daniel LEVAI
|
# Copyright (c) 2012 Daniel LEVAI
|
||||||
|
# Copyright (c) 2012-2019 Dugan Chen
|
||||||
|
# Copyright (c) 2019-2023 Matteo Bernardini
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# * Redistribution and use in source and binary forms, with or without
|
# * Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -36,7 +40,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=adobe-source-serif-pro-font
|
PRGNAM=adobe-source-serif-pro-font
|
||||||
VERSION=${VERSION:-4.004}
|
VERSION=${VERSION:-4.005}
|
||||||
SRCNAM=source-serif
|
SRCNAM=source-serif
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -58,9 +62,9 @@ set -e
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $SRCNAM-$VERSION
|
rm -rf $SRCNAM-${VERSION}_Desktop
|
||||||
unzip $CWD/$SRCNAM-$VERSION.zip
|
unzip $CWD/$SRCNAM-${VERSION}_Desktop.zip
|
||||||
cd $SRCNAM-$VERSION
|
cd $SRCNAM-${VERSION}_Desktop
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . -type d -a -exec chmod 755 {} \+
|
find . -type d -a -exec chmod 755 {} \+
|
||||||
find . -type f -a -exec chmod 644 {} \+
|
find . -type f -a -exec chmod 644 {} \+
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="adobe-source-serif-pro-font"
|
PRGNAM="adobe-source-serif-pro-font"
|
||||||
VERSION="4.004"
|
VERSION="4.005"
|
||||||
HOMEPAGE="https://adobe-fonts.github.io/source-serif-pro/"
|
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"
|
DOWNLOAD="https://github.com/adobe-fonts/source-serif/releases/download/4.005R/source-serif-4.005_Desktop.zip"
|
||||||
MD5SUM="1328a84de8221e1f6fcf46626a4f415b"
|
MD5SUM="316acf7250008f2987a3c49325f5ef5c"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Update the X font indexes:
|
# Update the X font indexes:
|
||||||
if [ -x /usr/bin/mkfontdir ]; then
|
if [ -x /usr/bin/mkfontdir ]; then
|
||||||
/usr/bin/mkfontscale /usr/share/fonts/OTF
|
/usr/bin/mkfontscale usr/share/fonts/OTF
|
||||||
/usr/bin/mkfontdir /usr/share/fonts/OTF
|
/usr/bin/mkfontdir usr/share/fonts/OTF
|
||||||
fi
|
fi
|
||||||
if [ -x /usr/bin/fc-cache ]; then
|
if [ -x /usr/bin/fc-cache ]; then
|
||||||
/usr/bin/fc-cache -f
|
/usr/bin/fc-cache -f
|
||||||
|
|
Loading…
Reference in a new issue