summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2015-05-10 23:26:25 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-11 01:18:00 +0700
commitd23b37874fa7e72ec53e7bccb22bb153733d389c (patch)
treec112c69f4a9546df88894ea3268866df8b624af3
parent62a95130a755f3122772ea1e95e46ec208e13580 (diff)
downloadslackbuilds-d23b37874fa7e72ec53e7bccb22bb153733d389c.tar.gz
system/AnonymousPro: Added Anonymous Pro minus fonts.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/AnonymousPro/AnonymousPro.SlackBuild15
-rw-r--r--system/AnonymousPro/AnonymousPro.info6
-rw-r--r--system/AnonymousPro/README2
-rw-r--r--system/AnonymousPro/slack-desc2
4 files changed, 15 insertions, 10 deletions
diff --git a/system/AnonymousPro/AnonymousPro.SlackBuild b/system/AnonymousPro/AnonymousPro.SlackBuild
index e8fd4e6b11..3b23762af0 100644
--- a/system/AnonymousPro/AnonymousPro.SlackBuild
+++ b/system/AnonymousPro/AnonymousPro.SlackBuild
@@ -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
diff --git a/system/AnonymousPro/AnonymousPro.info b/system/AnonymousPro/AnonymousPro.info
index d76ba7749e..b52cf4cb9e 100644
--- a/system/AnonymousPro/AnonymousPro.info
+++ b/system/AnonymousPro/AnonymousPro.info
@@ -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=""
diff --git a/system/AnonymousPro/README b/system/AnonymousPro/README
index babdf24206..77b576baa5 100644
--- a/system/AnonymousPro/README
+++ b/system/AnonymousPro/README
@@ -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.
diff --git a/system/AnonymousPro/slack-desc b/system/AnonymousPro/slack-desc
index 998fedc2cd..a238bb2a79 100644
--- a/system/AnonymousPro/slack-desc
+++ b/system/AnonymousPro/slack-desc
@@ -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: