system/AnonymousPro: Added Anonymous Pro minus fonts.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Eugene M 2015-05-10 23:26:25 +07:00 committed by Willy Sudiarto Raharjo
parent 62a95130a7
commit d23b37874f
4 changed files with 15 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for AnonymousPro
# Copyright 2014 Eugene M., Tyumen, Russia
# Copyright 2014-2015 Eugene M., <damagedone at gmx dot com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=AnonymousPro
VERSION=${VERSION:-1.002}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@ -41,9 +41,14 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
unzip $CWD/$PRGNAM-$VERSION.zip
# Fix errors
unzip $CWD/AnonymousProMinus-1.003.zip
# Ugly hack
mv -f $PRGNAM-$VERSION.001 $PRGNAM-$VERSION
rm ._AnonymousPro-1.002.001
mv $PRGNAM-$VERSION/FONTLOG.txt $PRGNAM-$VERSION/AnonymousPro_FONTLOG.txt
mv -f AnonymousProMinus-1.003/*.* $PRGNAM-$VERSION
mv $PRGNAM-$VERSION/FONTLOG.txt $PRGNAM-$VERSION/AnonymousProMinus_FONTLOG.txt
rm -rf ._AnonymousPro-1.002.001 AnonymousProMinus-1.003
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@ -56,7 +61,7 @@ mkdir -p $PKG/usr/share/fonts/TTF
cp -a *.ttf $PKG/usr/share/fonts/TTF
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *_FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,10 @@
PRGNAM="AnonymousPro"
VERSION="1.002"
HOMEPAGE="http://www.marksimonson.com/fonts/view/anonymous-pro"
DOWNLOAD="http://www.marksimonson.com/assets/content/fonts/AnonymousPro-1.002.zip"
MD5SUM="bb5141b20b9d69b3190be03e5706c8b7"
DOWNLOAD="http://www.marksimonson.com/assets/content/fonts/AnonymousPro-1.002.zip \
http://www.marksimonson.com/assets/content/fonts/AnonymousProMinus-1.003.zip"
MD5SUM="bb5141b20b9d69b3190be03e5706c8b7 \
16468f49e2a56f8e2ad39f09728391bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -14,5 +14,3 @@ Features:
There are two versions: Anonymous Pro and Anonymous Pro Minus. Anonymous Pro
contains embedded bitmaps for smaller sizes, Anonymous Pro Minus does not.
This package contain only Anonymous Pro version.

View file

@ -14,6 +14,6 @@ AnonymousPro: Unicode-based character set, with support for most Western and
AnonymousPro: Central European Latin-based languages, plus Greek and Cyrillic.
AnonymousPro:
AnonymousPro:
AnonymousPro:
AnonymousPro: Homepage: http://marksimonson.com/fonts/view/anonymous-pro
AnonymousPro:
AnonymousPro: