diff options
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 |