diff options
author | crocket <crockabiscuit@yahoo.com> | 2010-06-29 19:33:05 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-29 19:33:05 -0500 |
commit | b8b1b9cccdedbcfbb792c8e80eae5720bcd924e3 (patch) | |
tree | a5293adaf60d633c34caeb4e4aff205cec838b4c /misc | |
parent | 5d01a57e7b1059d772f24817544c0d056098a430 (diff) |
misc/gnu-unifont: Added (GNU Unicode font)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gnu-unifont/README | 4 | ||||
-rw-r--r-- | misc/gnu-unifont/doinst.sh | 10 | ||||
-rw-r--r-- | misc/gnu-unifont/gnu-unifont.SlackBuild | 42 | ||||
-rw-r--r-- | misc/gnu-unifont/gnu-unifont.info | 12 | ||||
-rw-r--r-- | misc/gnu-unifont/slack-desc | 19 |
5 files changed, 87 insertions, 0 deletions
diff --git a/misc/gnu-unifont/README b/misc/gnu-unifont/README new file mode 100644 index 000000000000..0cfd272d3ebc --- /dev/null +++ b/misc/gnu-unifont/README @@ -0,0 +1,4 @@ +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. diff --git a/misc/gnu-unifont/doinst.sh b/misc/gnu-unifont/doinst.sh new file mode 100644 index 000000000000..dfef345e4396 --- /dev/null +++ b/misc/gnu-unifont/doinst.sh @@ -0,0 +1,10 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/misc ; mkfontscale . ; mkfontdir . ) + ( cd /usr/share/fonts/TTF ; mkfontscale . ; mkfontdir . ) +fi + +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + diff --git a/misc/gnu-unifont/gnu-unifont.SlackBuild b/misc/gnu-unifont/gnu-unifont.SlackBuild new file mode 100644 index 000000000000..3cdb92028963 --- /dev/null +++ b/misc/gnu-unifont/gnu-unifont.SlackBuild @@ -0,0 +1,42 @@ +#!/bin/sh + +# Slackware build script for gnu-unifont + +# Written by crocket (crockabiscuit@yahoo.com) + +PRGNAM=gnu-unifont +VERSION=${VERSION:-5.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +ARCH=noarch + +SRCNAM=unifont + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +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 + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/misc/gnu-unifont/gnu-unifont.info b/misc/gnu-unifont/gnu-unifont.info new file mode 100644 index 000000000000..6f21ff1a60db --- /dev/null +++ b/misc/gnu-unifont/gnu-unifont.info @@ -0,0 +1,12 @@ +PRGNAM="gnu-unifont" +VERSION="5.1" +HOMEPAGE="http://unifoundry.com/unifont.html" +DOWNLOAD="http://unifoundry.com/unifont-5.1.20080907.ttf.gz \ + http://unifoundry.com/unifont-5.1.20080820.pcf.gz" +MD5SUM="3c64603b66998d835b96241d1b98a3a4 \ + 8c28087c5fcb3188f1244b390efffdbe" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="crocket" +EMAIL="crockabiscuit@yahoo.com" +APPROVED="rworkman" diff --git a/misc/gnu-unifont/slack-desc b/misc/gnu-unifont/slack-desc new file mode 100644 index 000000000000..8e0ebef94cf2 --- /dev/null +++ b/misc/gnu-unifont/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +gnu-unifont: gnu-unifont +gnu-unifont: +gnu-unifont: The GNU unifont has a glyph for every printable code point in the +gnu-unifont: Unicode Basic Multilinguial Plane (BMP). The BMP is the first Unicode +gnu-unifont: "plane" of 65,536(16bit) code points, and includes character encoding +gnu-unifont: for most of the world's modern scripts. +gnu-unifont: +gnu-unifont: The website is http://unifoundry.com/unifont.html +gnu-unifont: +gnu-unifont: +gnu-unifont: |