summaryrefslogtreecommitdiffstats
path: root/libraries/giblib/giblib.SlackBuild
diff options
context:
space:
mode:
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" \