From b8b1b9cccdedbcfbb792c8e80eae5720bcd924e3 Mon Sep 17 00:00:00 2001 From: crocket Date: Tue, 29 Jun 2010 19:33:05 -0500 Subject: misc/gnu-unifont: Added (GNU Unicode font) Signed-off-by: Robby Workman --- misc/gnu-unifont/README | 4 ++++ misc/gnu-unifont/doinst.sh | 10 ++++++++ misc/gnu-unifont/gnu-unifont.SlackBuild | 42 +++++++++++++++++++++++++++++++++ misc/gnu-unifont/gnu-unifont.info | 12 ++++++++++ misc/gnu-unifont/slack-desc | 19 +++++++++++++++ 5 files changed, 87 insertions(+) create mode 100644 misc/gnu-unifont/README create mode 100644 misc/gnu-unifont/doinst.sh create mode 100644 misc/gnu-unifont/gnu-unifont.SlackBuild create mode 100644 misc/gnu-unifont/gnu-unifont.info create mode 100644 misc/gnu-unifont/slack-desc diff --git a/misc/gnu-unifont/README b/misc/gnu-unifont/README new file mode 100644 index 0000000000..0cfd272d3e --- /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 0000000000..dfef345e43 --- /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 0000000000..3cdb920289 --- /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 0000000000..6f21ff1a60 --- /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 0000000000..8e0ebef94c --- /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: -- cgit v1.2.3-65-gdbad