summaryrefslogtreecommitdiff
path: root/libraries/giblib/giblib.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-05-26 14:24:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-28 23:45:38 +0700
commitfac225cb45696079d1c1989a785cf2c39ff278b2 (patch)
treefb81577730ae733f2188eab6057f7908a6f54f85 /libraries/giblib/giblib.SlackBuild
parent15e0b8bd38b998cf4c8b0d6361c0454a8345ef7c (diff)
downloadslackbuilds-fac225cb45696079d1c1989a785cf2c39ff278b2.tar.gz
libraries/giblib: New maintainer + script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/giblib/giblib.SlackBuild')
-rw-r--r--libraries/giblib/giblib.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/libraries/giblib/giblib.SlackBuild b/libraries/giblib/giblib.SlackBuild
index e03dd393f7..cacb0cb9fa 100644
--- a/libraries/giblib/giblib.SlackBuild
+++ b/libraries/giblib/giblib.SlackBuild
@@ -3,6 +3,7 @@
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# Copyright 2011 Grigorios Bouzakis <grbzks@xsmail.com>
+# Copyright 2014 Ryan P.C. McQuen, WA, ryan.q@linux.com
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for any purpose
@@ -52,7 +53,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="COPYING NEWS"
+DOCS="COPYING"
set -e
@@ -60,14 +61,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
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 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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \