diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-05-03 16:26:33 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-03 16:26:33 +0700 |
commit | 866cd99c3bc3469becf813f06196e84d8b648744 (patch) | |
tree | 536c34cba09cfd1a2079f83a00dcfa7174765934 /libraries/Kivy/Kivy.SlackBuild | |
parent | a654c26a7872d0b54da7000e0ea0b459a0be031e (diff) | |
download | slackbuilds-866cd99c3bc3469becf813f06196e84d8b648744.tar.gz |
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.SlackBuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libraries/Kivy/Kivy.SlackBuild b/libraries/Kivy/Kivy.SlackBuild index ad570160f3..e7bf3e535e 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 |