diff options
Diffstat (limited to 'python/sge-pygame/sge-pygame.SlackBuild')
-rw-r--r-- | python/sge-pygame/sge-pygame.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/sge-pygame/sge-pygame.SlackBuild b/python/sge-pygame/sge-pygame.SlackBuild index d60121da72..0efb723255 100644 --- a/python/sge-pygame/sge-pygame.SlackBuild +++ b/python/sge-pygame/sge-pygame.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sge-pygame -VERSION=${VERSION:-0.8.0} -SRCVERSION=${VERSION}-py2.7 +SRCVER=${SRCVER:-0.9.1-py2.7} +VERSION=$(echo $SRCVER | cut -c1-5) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERSION -tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz -cd $PRGNAM-$SRCVERSION +rm -rf $PRGNAM-$SRCVER +tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -76,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 README WHATSNEW* doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README WHATSNEW* VERSION* doc/*.html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |