aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorCCHsu <a12321aabb@gmail.com>2015-09-24 08:53:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-24 08:53:20 +0700
commit8f0166d50a6ba5b704ee5d14423de985a28cc609 (patch)
treef040e8cb8d5fb3be7ccd3de7e438dc167f2ec0f9 /system
parent5592fd5015ff80ab10ad0ea821fec54b902a3165 (diff)
system/adobe-source-han-sans-fonts: Updated for version 1.004R.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild16
-rw-r--r--system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.info6
2 files changed, 11 insertions, 11 deletions
diff --git a/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild b/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild
index c31a747d64ac..050bda352e2f 100644
--- a/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild
+++ b/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild
@@ -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
diff --git a/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.info b/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.info
index e45de12ee5be..3876b0901f98 100644
--- a/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.info
+++ b/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.info
@@ -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=""