diff options
Diffstat (limited to 'system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild')
-rw-r--r-- | system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild | 17 |
1 files changed, 10 insertions, 7 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 b0111ec76e..a9fc867c1b 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 {} \+ |