diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2013-11-14 22:57:12 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-14 23:00:38 -0600 |
commit | 9852b704c98c6b3154e7885d8e9c0f7f78969538 (patch) | |
tree | e63b04c5998ca99b0a28e2f16f6b0a57f0f8cc01 | |
parent | 57e61b87094faa7087bfff1da87de882fbf178b2 (diff) | |
download | slackbuilds-9852b704c98c6b3154e7885d8e9c0f7f78969538.tar.gz |
multimedia/oggvideotools: script cleanup
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r-- | multimedia/oggvideotools/oggvideotools.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/multimedia/oggvideotools/oggvideotools.SlackBuild b/multimedia/oggvideotools/oggvideotools.SlackBuild index 3bb6248793..3fa9eb51d7 100644 --- a/multimedia/oggvideotools/oggvideotools.SlackBuild +++ b/multimedia/oggvideotools/oggvideotools.SlackBuild @@ -3,7 +3,8 @@ # Slackware Package Build Script for OggVideoTools # Home Page http://dev.streamnik.de/oggvideotools.html -# Copyright (c) 2009-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net) +# Copyright (c) 2009-2013, Nishant Limbachia, Hoffman Estates, IL, USA +# (nishant _AT_ mnspace _DOT_ net) # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,8 +25,8 @@ # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=oggvideotools -VERSION=0.8a +PRGNAM="oggvideotools" +VERSION=${VERSION:-0.8a} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,11 +65,11 @@ cd $TMP tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root.root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 -o -perm 440 \ + -o -perm 400 \) -exec chmod 644 {} \; # Fix for gcc-4.7.x patch -p1 < $CWD/gcc47.patch |