system/adobe-source-han-sans-fonts: Updated for version 1.004R.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
CCHsu 2015-09-24 08:53:20 +07:00 committed by Willy Sudiarto Raharjo
parent 5592fd5015
commit 8f0166d50a
2 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for adobe-source-han-sans-fonts
# Copyright 2014 CCHsu, Taiwan
# Copyright 2015 CCHsu, Taiwan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=adobe-source-han-sans-fonts
VERSION=${VERSION:-1.001R}
VERSION=${VERSION:-1.004R}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -44,10 +44,11 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir -p $TMP/$PRGNAM-$VERSION
cd $PRGNAM-$VERSION
tar -xvzf "$CWD"/"$VERSION".tar.gz "$SRC_PRGNAM"-"$VERSION"/LICENSE.txt \
"$SRC_PRGNAM"-"$VERSION"/"$FONT_NAM"ReadMe.pdf \
"$SRC_PRGNAM"-"$VERSION"/SuperOTC/"$FONT_NAM".ttc.zip
unzip "$SRC_PRGNAM"-"$VERSION"/SuperOTC/"$FONT_NAM".ttc.zip
mv $CWD/LICENSE.txt \
$CWD/"$FONT_NAM"ReadMe.pdf \
$CWD/"$FONT_NAM".ttc.zip \
$TMP/$PRGNAM-$VERSION
unzip "$FONT_NAM".ttc.zip
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -60,8 +61,7 @@ mkdir -p $PKG/usr/share/fonts/TTF
cp -L "$FONT_NAM".ttc $PKG/usr/share/fonts/TTF
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -L "$SRC_PRGNAM"-"$VERSION"/LICENSE.txt "$SRC_PRGNAM"-"$VERSION"/"$FONT_NAM"ReadMe.pdf \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -L LICENSE.txt "$FONT_NAM"ReadMe.pdf $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-han-sans-fonts"
VERSION="1.001R"
VERSION="1.004R"
HOMEPAGE="https://github.com/adobe-fonts/source-han-sans"
DOWNLOAD="https://github.com/adobe-fonts/source-han-sans/archive/1.001R.tar.gz"
MD5SUM="746e79e66d437732fe04bcf02c95c642"
DOWNLOAD="https://github.com/adobe-fonts/source-han-sans/raw/1.004R/LICENSE.txt https://github.com/adobe-fonts/source-han-sans/raw/1.004R/SourceHanSansReadMe.pdf https://github.com/adobe-fonts/source-han-sans/raw/1.004R/SuperOTC/SourceHanSans.ttc.zip"
MD5SUM="55719faa0112708e946b820b24b14097 b78323a4cebe8836bcf74c2d202f2674 8214d97a14991a22aa2ade3c8066a803"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""