diff options
author | LukenShiro <lukenshiro@ngi.it> | 2014-08-07 08:37:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-07 08:37:03 +0700 |
commit | 9fd488ee5ea8bc490851ed5164ccde79972605f3 (patch) | |
tree | da33fdc4aa6bc6baddaded75dba66589978873ad /system | |
parent | 6a5ea3a606c897c88a4747f032b320fb7a7cca7b (diff) | |
download | slackbuilds-9fd488ee5ea8bc490851ed5164ccde79972605f3.tar.gz |
system/gnu-unifont: Updated for version 7.0.03.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/gnu-unifont/README | 2 | ||||
-rw-r--r-- | system/gnu-unifont/gnu-unifont.SlackBuild | 27 | ||||
-rw-r--r-- | system/gnu-unifont/gnu-unifont.info | 8 |
3 files changed, 25 insertions, 12 deletions
diff --git a/system/gnu-unifont/README b/system/gnu-unifont/README index 0cfd272d3e..1a66fa550c 100644 --- a/system/gnu-unifont/README +++ b/system/gnu-unifont/README @@ -2,3 +2,5 @@ The GNU unifont has a glyph for every printable code point in the Unicode Basic Multilinguial Plane(BMP). The BMP is the first Unicode "plane" of 65,536(16bit) code points, and includes character encoding for most of the world's modern scripts. + +This package installs precompiled fonts only. diff --git a/system/gnu-unifont/gnu-unifont.SlackBuild b/system/gnu-unifont/gnu-unifont.SlackBuild index 8f4514e20d..c29ba85d2a 100644 --- a/system/gnu-unifont/gnu-unifont.SlackBuild +++ b/system/gnu-unifont/gnu-unifont.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for gnu-unifont # Copyright 2010 crocket (crockabiscuit@gmail.com) -# Copyright 2013 LukenShiro, Italy +# Copyright 2013-2014 LukenShiro, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gnu-unifont -VERSION=${VERSION:-6.3.20131020} +VERSION=${VERSION:-7.0.03} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,20 +36,33 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} SRCNAM=unifont +DOCFILES="ChangeLog COPYING INSTALL NEWS README" set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +cd font/precompiled mkdir -p $PKG/usr/share/fonts/{misc,TTF} -cat $CWD/$SRCNAM-$VERSION.pcf.gz \ - > $PKG/usr/share/fonts/misc/$SRCNAM.pcf.gz -# Decompress .ttf.gz since some programs using ttf fonts don't recognize .ttf.gz -zcat $CWD/$SRCNAM-$VERSION.ttf.gz \ - > $PKG/usr/share/fonts/TTF/$SRCNAM.ttf +cp -a *.pcf.gz $PKG/usr/share/fonts/misc/ +cp -a *.ttf $PKG/usr/share/fonts/TTF +mkdir -p $PKG/usr/share/kbd/consolefonts +cp -a *.psf.gz $PKG/usr/share/kbd/consolefonts/ +cd - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/gnu-unifont/gnu-unifont.info b/system/gnu-unifont/gnu-unifont.info index 07ecac8829..c20d9a149f 100644 --- a/system/gnu-unifont/gnu-unifont.info +++ b/system/gnu-unifont/gnu-unifont.info @@ -1,10 +1,8 @@ PRGNAM="gnu-unifont" -VERSION="6.3.20131020" +VERSION="7.0.03" HOMEPAGE="http://unifoundry.com/unifont.html" -DOWNLOAD="http://unifoundry.com/pub/unifont-6.3.20131020/font-builds/unifont-6.3.20131020.ttf.gz \ - http://unifoundry.com/pub/unifont-6.3.20131020/font-builds/unifont-6.3.20131020.pcf.gz" -MD5SUM="39838f91e9638655481913685fd02c44 \ - 0a54834d2788c83886a3e1785a6a1e61" +DOWNLOAD="ftp://ftp.gnu.org/gnu/unifont/unifont-7.0.03/unifont-7.0.03.tar.gz" +MD5SUM="17f4b4de9cf0a58049da251611c19415" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |