diff options
author | CCHsu <a12321aabb@gmail.com> | 2015-09-24 08:53:20 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-09-24 08:53:20 +0700 |
commit | 8f0166d50a6ba5b704ee5d14423de985a28cc609 (patch) | |
tree | f040e8cb8d5fb3be7ccd3de7e438dc167f2ec0f9 /system/adobe-source-han-sans-fonts/adobe-source-han-sans-fonts.SlackBuild | |
parent | 5592fd5015ff80ab10ad0ea821fec54b902a3165 (diff) | |
download | slackbuilds-8f0166d50a6ba5b704ee5d14423de985a28cc609.tar.gz |
system/adobe-source-han-sans-fonts: Updated for version 1.004R.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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.SlackBuild | 16 |
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 |