diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2023-06-26 20:05:23 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-02 23:21:28 +0700 |
commit | 3e5b9d124cdcd90fca24533cbcc6621ee657dce8 (patch) | |
tree | 361fec670f58065d16bd131673a5009c3f730d3f /system | |
parent | 92d3abe9e67e905a2539f04771076e5177e99ede (diff) |
system/adobe-source-code-pro-font: Updated for version 2.042.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
3 files changed, 16 insertions, 16 deletions
diff --git a/system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild b/system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild index 43de0846ddec5..9de871278c21e 100644 --- a/system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild +++ b/system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild @@ -1,6 +1,10 @@ #!/bin/bash +# Slackware build script for adobe-source-code-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 @@ -22,16 +26,13 @@ # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# Currently maintained by Dugan Chen cd $(dirname $0) ; CWD=$(pwd) PRGNAM=adobe-source-code-pro-font -VERSION=${VERSION:-1.030} -ROMAN_VERSION=2.010 -ITALIC_VERSION=$VERSION -SRC=source-code-pro-${ROMAN_VERSION}R-ro-${ITALIC_VERSION}R-it +VERSION=${VERSION:-2.042} +ITALIC_VERSION=${ITALIC_VERSION:-1.062} +SRC=source-code-pro-${VERSION}R-u_${ITALIC_VERSION}R-i BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,9 +56,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf ${SRC} -tar xvf $CWD/${VERSION}R-it.tar.gz || tar xvf $CWD/${SRC}.tar.gz -cd ${SRC} +rm -rf source-code-pro-${VERSION} +mkdir source-code-pro-${VERSION} +cd source-code-pro-${VERSION} +unzip $CWD/OTF-$SRC.zip chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -69,8 +71,6 @@ mkdir -p $PKG/usr/share/fonts/OTF/ cp OTF/*.otf $PKG/usr/share/fonts/OTF/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a LICENSE.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION -chmod a-x $PKG/usr/doc/$PRGNAM-$VERSION/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/adobe-source-code-pro-font/adobe-source-code-pro-font.info b/system/adobe-source-code-pro-font/adobe-source-code-pro-font.info index 30e23e99acdc5..d355f316e000d 100644 --- a/system/adobe-source-code-pro-font/adobe-source-code-pro-font.info +++ b/system/adobe-source-code-pro-font/adobe-source-code-pro-font.info @@ -1,8 +1,8 @@ PRGNAM="adobe-source-code-pro-font" -VERSION="1.030" +VERSION="2.042" HOMEPAGE="http://adobe-fonts.github.io/source-code-pro/" -DOWNLOAD="https://github.com/adobe-fonts/source-code-pro/archive/2.010R-ro/1.030R-it.tar.gz" -MD5SUM="5d11969eb0a5e243acdbcf046753aa03" +DOWNLOAD="https://github.com/adobe-fonts/source-code-pro/releases/download/2.042R-u%2F1.062R-i%2F1.026R-vf/OTF-source-code-pro-2.042R-u_1.062R-i.zip" +MD5SUM="6a214c6daba683ef7ae0bcc8f4bd2a7f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/system/adobe-source-code-pro-font/doinst.sh b/system/adobe-source-code-pro-font/doinst.sh index 07732c33c3be4..522e1a9f94877 100644 --- a/system/adobe-source-code-pro-font/doinst.sh +++ b/system/adobe-source-code-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 |