summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/gnu-unifont/doinst.sh1
-rw-r--r--misc/gnu-unifont/gnu-unifont.SlackBuild37
-rw-r--r--misc/gnu-unifont/gnu-unifont.info14
-rw-r--r--misc/gnu-unifont/slack-desc20
4 files changed, 44 insertions, 28 deletions
diff --git a/misc/gnu-unifont/doinst.sh b/misc/gnu-unifont/doinst.sh
index dfef345e43..2822cf238c 100644
--- a/misc/gnu-unifont/doinst.sh
+++ b/misc/gnu-unifont/doinst.sh
@@ -7,4 +7,3 @@ 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
index d1e9041076..8f4514e20d 100644
--- a/misc/gnu-unifont/gnu-unifont.SlackBuild
+++ b/misc/gnu-unifont/gnu-unifont.SlackBuild
@@ -2,33 +2,51 @@
# Slackware build script for gnu-unifont
-# Written by crocket (crockabiscuit@gmail.com)
+# Copyright 2010 crocket (crockabiscuit@gmail.com)
+# Copyright 2013 LukenShiro, Italy
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnu-unifont
-VERSION=${VERSION:-5.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-6.3.20131020}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-SRCNAM=unifont
-
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+SRCNAM=unifont
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-mkdir -p $PKG/usr/share/fonts/{misc,TTF}
-cat $CWD/$SRCNAM-$VERSION.*.pcf.gz \
+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 \
+zcat $CWD/$SRCNAM-$VERSION.ttf.gz \
> $PKG/usr/share/fonts/TTF/$SRCNAM.ttf
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -40,4 +58,3 @@ 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
index 518544d15f..07ecac8829 100644
--- a/misc/gnu-unifont/gnu-unifont.info
+++ b/misc/gnu-unifont/gnu-unifont.info
@@ -1,12 +1,12 @@
PRGNAM="gnu-unifont"
-VERSION="5.1"
+VERSION="6.3.20131020"
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="708a693e340902779ec9ad13acae279a \
- 8c28087c5fcb3188f1244b390efffdbe"
+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_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="crocket"
-EMAIL="crockabiscuit@gmail.com"
+MAINTAINER="LukenShiro"
+EMAIL="lukenshiro@ngi.it"
diff --git a/misc/gnu-unifont/slack-desc b/misc/gnu-unifont/slack-desc
index 0efce32647..3c3c36c945 100644
--- a/misc/gnu-unifont/slack-desc
+++ b/misc/gnu-unifont/slack-desc
@@ -1,19 +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 ':'.
+# 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 ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-gnu-unifont: gnu-unifont ( Font containing Unicode 5.1 BMP )
+gnu-unifont: gnu-unifont (Font containing Unicode BMP)
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: Unicode Basic Multilinguial Plane (BMP). The BMP is the first
+gnu-unifont: Unicode "plane" of 65,536(16bit) code points, and includes character
+gnu-unifont: encoding for most of the world's modern scripts.
gnu-unifont:
-gnu-unifont: Website: http://unifoundry.com/unifont.html
+gnu-unifont: Homepage: http://unifoundry.com/unifont.html
gnu-unifont:
gnu-unifont:
gnu-unifont: