mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
system/gnu-unifont: Updated for version 7.0.03.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6a5ea3a606
commit
9fd488ee5e
3 changed files with 25 additions and 12 deletions
|
@ -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
|
Unicode Basic Multilinguial Plane(BMP). The BMP is the first Unicode
|
||||||
"plane" of 65,536(16bit) code points, and includes character encoding
|
"plane" of 65,536(16bit) code points, and includes character encoding
|
||||||
for most of the world's modern scripts.
|
for most of the world's modern scripts.
|
||||||
|
|
||||||
|
This package installs precompiled fonts only.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Slackware build script for gnu-unifont
|
# Slackware build script for gnu-unifont
|
||||||
|
|
||||||
# Copyright 2010 crocket (crockabiscuit@gmail.com)
|
# Copyright 2010 crocket (crockabiscuit@gmail.com)
|
||||||
# Copyright 2013 LukenShiro, Italy
|
# Copyright 2013-2014 LukenShiro, Italy
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=gnu-unifont
|
PRGNAM=gnu-unifont
|
||||||
VERSION=${VERSION:-6.3.20131020}
|
VERSION=${VERSION:-7.0.03}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -36,20 +36,33 @@ PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
SRCNAM=unifont
|
SRCNAM=unifont
|
||||||
|
DOCFILES="ChangeLog COPYING INSTALL NEWS README"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
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}
|
mkdir -p $PKG/usr/share/fonts/{misc,TTF}
|
||||||
cat $CWD/$SRCNAM-$VERSION.pcf.gz \
|
cp -a *.pcf.gz $PKG/usr/share/fonts/misc/
|
||||||
> $PKG/usr/share/fonts/misc/$SRCNAM.pcf.gz
|
cp -a *.ttf $PKG/usr/share/fonts/TTF
|
||||||
# Decompress .ttf.gz since some programs using ttf fonts don't recognize .ttf.gz
|
mkdir -p $PKG/usr/share/kbd/consolefonts
|
||||||
zcat $CWD/$SRCNAM-$VERSION.ttf.gz \
|
cp -a *.psf.gz $PKG/usr/share/kbd/consolefonts/
|
||||||
> $PKG/usr/share/fonts/TTF/$SRCNAM.ttf
|
cd -
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
PRGNAM="gnu-unifont"
|
PRGNAM="gnu-unifont"
|
||||||
VERSION="6.3.20131020"
|
VERSION="7.0.03"
|
||||||
HOMEPAGE="http://unifoundry.com/unifont.html"
|
HOMEPAGE="http://unifoundry.com/unifont.html"
|
||||||
DOWNLOAD="http://unifoundry.com/pub/unifont-6.3.20131020/font-builds/unifont-6.3.20131020.ttf.gz \
|
DOWNLOAD="ftp://ftp.gnu.org/gnu/unifont/unifont-7.0.03/unifont-7.0.03.tar.gz"
|
||||||
http://unifoundry.com/pub/unifont-6.3.20131020/font-builds/unifont-6.3.20131020.pcf.gz"
|
MD5SUM="17f4b4de9cf0a58049da251611c19415"
|
||||||
MD5SUM="39838f91e9638655481913685fd02c44 \
|
|
||||||
0a54834d2788c83886a3e1785a6a1e61"
|
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue