From c18f380c08c5a0a2c91d5ff3d22341a64b1db6e0 Mon Sep 17 00:00:00 2001 From: CCHsu Date: Wed, 24 Dec 2014 15:15:50 +0700 Subject: system/adobe-source-han-sans-fonts: Updated for version 1.001R. Signed-off-by: Willy Sudiarto Raharjo --- system/adobe-source-han-sans-fonts/README | 6 +++--- .../adobe-source-han-sans-fonts.SlackBuild | 19 ++++++++++--------- .../adobe-source-han-sans-fonts.info | 8 ++++---- system/adobe-source-han-sans-fonts/slack-desc | 4 ++-- 4 files changed, 19 insertions(+), 18 deletions(-) (limited to 'system') diff --git a/system/adobe-source-han-sans-fonts/README b/system/adobe-source-han-sans-fonts/README index 64e85b08e3..e97adbfb7c 100644 --- a/system/adobe-source-han-sans-fonts/README +++ b/system/adobe-source-han-sans-fonts/README @@ -1,7 +1,7 @@ Source Han Sans is a sans serif Pan-CJK font family that is offered in seven weights—ExtraLight, Light, Normal, Regular, Medium, Bold, and Heavy. - -Pan-CJK fonts are intended to support the characters necessary to render or -display text in Simplified Chinese, Traditional Chinese, Japanese, and Korean. +Pan-CJK fonts are intended to support the characters necessary to render or display +text in Simplified Chinese, Traditional Chinese, Japanese, and Korean. +The font is also known as Noto Sans CJK font offered by Google. The license is Apache License, Version 2.0. 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 32dc228a77..c31a747d64 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 @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=adobe-source-han-sans-fonts -VERSION=${VERSION:-1.000} +VERSION=${VERSION:-1.001R} ARCH=noarch BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,11 +33,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# I assume you might not want to do the job in a directory -# that contains spaces in its full path. If you do, try to replace -# all the spaces in your full path or change to other working directory. -SRC_PRGNAM=${SRC_PRGNAM:-SourceHanSans} -FILE_PATHS=("$TMP"/"$PRGNAM"-"$VERSION"/"$SRC_PRGNAM"OTC-"$VERSION"/"$SRC_PRGNAM"-{ExtraLight,Light,Normal,Regular,Medium,Bold,Heavy}.ttc) +SRC_PRGNAM=${SRC_PRGNAM:-source-han-sans} +FONT_NAM=${FONT_NAM:-SourceHanSans} set -e @@ -47,7 +44,10 @@ cd $TMP rm -rf $PRGNAM-$VERSION mkdir -p $TMP/$PRGNAM-$VERSION cd $PRGNAM-$VERSION -unzip "$CWD"/"$SRC_PRGNAM"OTC-"$VERSION".zip +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 chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -57,10 +57,11 @@ find -L . \ # Installing font mkdir -p $PKG/usr/share/fonts/TTF -cp -L "${FILE_PATHS[@]}" $PKG/usr/share/fonts/TTF +cp -L "$FONT_NAM".ttc $PKG/usr/share/fonts/TTF mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ -cp -L "$CWD"/LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -L "$SRC_PRGNAM"-"$VERSION"/LICENSE.txt "$SRC_PRGNAM"-"$VERSION"/"$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 9f7611d5e2..e45de12ee5 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.000" -HOMEPAGE="http://sourceforge.net/adobe/source-han-sans/wiki/Home/" -DOWNLOAD="http://sourceforge.net/projects/source-han-sans.adobe/files/SourceHanSansOTC-1.000.zip http://sourceforge.net/projects/source-han-sans.adobe/files/LICENSE.txt" -MD5SUM="7448748d1ba72b53e1a1256169716562 53e49f20ee48569fd6d86391c70460f9" +VERSION="1.001R" +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_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/system/adobe-source-han-sans-fonts/slack-desc b/system/adobe-source-han-sans-fonts/slack-desc index 2257f057d7..553aeb79c8 100644 --- a/system/adobe-source-han-sans-fonts/slack-desc +++ b/system/adobe-source-han-sans-fonts/slack-desc @@ -9,11 +9,11 @@ adobe-source-han-sans-fonts: adobe-source-han-sans-fonts ( An OpenType Pan-CJK Font Family ) adobe-source-han-sans-fonts: adobe-source-han-sans-fonts: Source Han Sans is a sans serif Pan-CJK font family that is offered -adobe-source-han-sans-fonts: Kai, Ming and yuan, which are originally to be the default fonts adobe-source-han-sans-fonts: in seven weights: ExtraLight, Light, Normal, Regular, Medium, Bold, adobe-source-han-sans-fonts: and Heavy. As the name suggests, Pan-CJK fonts are intended to adobe-source-han-sans-fonts: support the characters necessary to render or display text in adobe-source-han-sans-fonts: Simplified Chinese, Traditional Chinese, Japanese, and Korean. adobe-source-han-sans-fonts: The license is Apache License, Version 2.0. adobe-source-han-sans-fonts: -adobe-source-han-sans-fonts: Homepage: http://sourceforge.net/adobe/source-han-sans/wiki/Home/ +adobe-source-han-sans-fonts: Homepage: https://github.com/adobe-fonts/source-han-sans +adobe-source-han-sans-fonts: See also: https://www.google.com/get/noto/cjk.html -- cgit v1.2.3