system/gnu-unifont: Updated for version 7.0.03.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LukenShiro 2014-08-07 08:37:03 +07:00 committed by Willy Sudiarto Raharjo
parent 6a5ea3a606
commit 9fd488ee5e
3 changed files with 25 additions and 12 deletions

View file

@ -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.

View file

@ -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

View file

@ -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=""