diff options
author | Eugene M <damagedone@gmx.com> | 2015-05-10 23:26:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-11 01:18:00 +0700 |
commit | d23b37874fa7e72ec53e7bccb22bb153733d389c (patch) | |
tree | c112c69f4a9546df88894ea3268866df8b624af3 /system/AnonymousPro/AnonymousPro.SlackBuild | |
parent | 62a95130a755f3122772ea1e95e46ec208e13580 (diff) | |
download | slackbuilds-d23b37874fa7e72ec53e7bccb22bb153733d389c.tar.gz |
system/AnonymousPro: Added Anonymous Pro minus fonts.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/AnonymousPro/AnonymousPro.SlackBuild')
-rw-r--r-- | system/AnonymousPro/AnonymousPro.SlackBuild | 15 |
1 files changed, 10 insertions, 5 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 |