aboutsummaryrefslogtreecommitdiff
path: root/libraries/Kivy/Kivy.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-05-03 16:26:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-03 16:26:33 +0700
commit866cd99c3bc3469becf813f06196e84d8b648744 (patch)
tree536c34cba09cfd1a2079f83a00dcfa7174765934 /libraries/Kivy/Kivy.SlackBuild
parenta654c26a7872d0b54da7000e0ea0b459a0be031e (diff)
libraries/Kivy: Update Source and README.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/Kivy/Kivy.SlackBuild')
-rw-r--r--libraries/Kivy/Kivy.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/libraries/Kivy/Kivy.SlackBuild b/libraries/Kivy/Kivy.SlackBuild
index ad570160f357e..e7bf3e535edac 100644
--- a/libraries/Kivy/Kivy.SlackBuild
+++ b/libraries/Kivy/Kivy.SlackBuild
@@ -23,6 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Kivy
+SRCNAM=${PRGNAM,,}
VERSION=${VERSION:-1.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || xvf $CWD/$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -75,7 +76,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS LICENSE PKG-INFO doc/README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS LICENSE doc/README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install