summaryrefslogtreecommitdiffstats
path: root/system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild')
-rw-r--r--system/adobe-source-code-pro-font/adobe-source-code-pro-font.SlackBuild22
1 files changed, 11 insertions, 11 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 43de0846dd..9de871278c 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