diff options
Diffstat (limited to 'games/jfsw/jfsw.SlackBuild')
-rw-r--r-- | games/jfsw/jfsw.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/games/jfsw/jfsw.SlackBuild b/games/jfsw/jfsw.SlackBuild index a061b0bb4d..12890491f8 100644 --- a/games/jfsw/jfsw.SlackBuild +++ b/games/jfsw/jfsw.SlackBuild @@ -44,18 +44,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -for TARNAM in \ - jfsw-54912c4964a5d68d4fd68dba1d3affcfe2062766.tar.gz \ - jfaudiolib-ea5613edadcf691a4867a750546f33ef84885fbf.tar.gz \ - jfbuild-b129b7ee9ce468022610dc8194786c0bac1f66ef.tar.gz \ - jfmact-f915216973de73c42c326fdd3b1734ac12316427.tar.gz \ +for SRCNAM in \ + jfsw-54912c4964a5d68d4fd68dba1d3affcfe2062766 \ + jfaudiolib-ea5613edadcf691a4867a750546f33ef84885fbf \ + jfbuild-b129b7ee9ce468022610dc8194786c0bac1f66ef \ + jfmact-f915216973de73c42c326fdd3b1734ac12316427 \ ; do - SRCNAM=$(echo $TARNAM | sed -e 's/-.*//') - DERPY_TARNAM=$(echo $TARNAM | sed -e 's/.*-//') - COMMIT=$(basename $DERPY_TARNAM .tar.gz) - rm -rf $SRCNAM - tar xvf $CWD/$TARNAM || tar xvf $CWD/$DERPY_TARNAM - mv $SRCNAM-$COMMIT $SRCNAM + PNAM=$(echo $SRCNAM | sed -e 's/-.*//') + rm -rf $SRCNAM $PNAM + tar xvf $CWD/$SRCNAM.tar.gz + mv $SRCNAM $PNAM done cd $PRGNAM @@ -71,6 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/jfsw-use-me.patch + make \ RELEASE=1 \ PREFIX=/usr/share/games/$PRGNAM \ |