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>
This commit is contained in:
Matteo Bernardini 2020-08-24 21:08:06 +02:00 committed by Willy Sudiarto Raharjo
parent 89012b5c90
commit 3a2bbfce64
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 24 deletions

View file

@ -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

View file

@ -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=""