aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-08-24 21:08:06 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-08-29 10:07:53 +0700
commit3a2bbfce64a916283db326e646eefb6177b43124 (patch)
tree431aabcc1cacdd94ada757b63f3af52c48efc1f1 /system
parent89012b5c90977cf9b886be06cae433512f5a935a (diff)
system/adobe-source-sans-pro-font: Updated for version 3.006R.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.SlackBuild30
-rw-r--r--system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info6
2 files changed, 12 insertions, 24 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 0070550cdc5f..01520ef778ed 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,6 +1,7 @@
#!/bin/sh
# Copyright (c) 2012 Daniel LEVAI
+# Copyright (c) 2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# * Redistribution and use in source and binary forms, with or without
@@ -22,23 +23,10 @@
# 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.
PRGNAM=adobe-source-sans-pro-font
-
-# The version in the tarball
-SRCVERSION=${VERSION:-1.065R-it}
-
-# The version in the package
-VERSION=${VERSION:-2.010.ro.1.065.it}
-
-# The version in the untarred source directory
-SRC_VERSION=2.010R-ro-1.065R-it
-
-SRC=${SRCVERSION}.tar.gz
-SRCDIR=source-sans-pro-${SRC_VERSION}
-
+SRCNAM=source-sans-pro
+VERSION=${VERSION:-3.006R}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,9 +42,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${SRCDIR}
-tar xvf $CWD/$SRC || tar xvf $CWD/$SRCDIR.tar.gz
-cd $SRCDIR
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -64,11 +52,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-mkdir -p $PKG/usr/share/fonts/OTF/
-cp OTF/*.otf $PKG/usr/share/fonts/OTF/
+mkdir -p $PKG/usr/share/fonts/OTF
+cp OTF/*.otf VAR/*.otf $PKG/usr/share/fonts/OTF/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE.txt ReadMe.html SourceSansProReadMe.html $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.md $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-sans-pro-font/adobe-source-sans-pro-font.info b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
index f8916d79a3e0..f7cdb2b4ca88 100644
--- a/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
+++ b/system/adobe-source-sans-pro-font/adobe-source-sans-pro-font.info
@@ -1,8 +1,8 @@
PRGNAM="adobe-source-sans-pro-font"
-VERSION="2.010.ro.1.065.it"
+VERSION="3.006R"
HOMEPAGE="http://adobe-fonts.github.io/source-sans-pro"
-DOWNLOAD="https://github.com/adobe-fonts/source-sans-pro/archive/2.010R-ro/1.065R-it.tar.gz"
-MD5SUM="5dfa6f327cdd4cb363f8887493696a4c"
+DOWNLOAD="https://github.com/adobe-fonts/source-sans-pro/archive/3.006R/source-sans-pro-3.006R.tar.gz"
+MD5SUM="7e8b5f1898287eb5242645abfdeb527b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""