summaryrefslogtreecommitdiff
path: root/system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild')
-rw-r--r--system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild16
1 files changed, 8 insertions, 8 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 c31a747d64..050bda352e 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