summaryrefslogtreecommitdiff
path: root/libraries/configobj/configobj.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/configobj/configobj.SlackBuild')
-rw-r--r--libraries/configobj/configobj.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/libraries/configobj/configobj.SlackBuild b/libraries/configobj/configobj.SlackBuild
index 3ed0e668f7..9831d8142d 100644
--- a/libraries/configobj/configobj.SlackBuild
+++ b/libraries/configobj/configobj.SlackBuild
@@ -4,6 +4,13 @@
# Written by Luis Henrique <lmello.009@gmail.com>
+# Modified by B. Watson <yalhcru@gmail.com>
+# 20140915 bkw:
+# - Took over maintenance
+# - Exclude __MACOSX dir from unzip command
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
PRGNAM=configobj
VERSION=${VERSION:-4.7.2}
BUILD=${BUILD:-1}
@@ -27,8 +34,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION __MACOSX/$PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
+rm -rf $PRGNAM-$VERSION
+unzip $CWD/$PRGNAM-$VERSION.zip -x __MACOSX/\*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \