mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/0ad-data: Rebuilt to extract directly into $PKG.
NOTE: BUILD deliberately not bumped. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c23441ac29
commit
4c183af95f
1 changed files with 4 additions and 7 deletions
|
@ -51,10 +51,10 @@ set -eu
|
|||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $DATANAM-$VERSION-$RELEASE
|
||||
tar xvf $CWD/$DATANAM-$VERSION-$RELEASE-unix-data.tar.xz
|
||||
cd $DATANAM-$VERSION-$RELEASE
|
||||
mkdir -p $PKG/usr/share/games/0ad
|
||||
cd $PKG/usr/share/games/0ad
|
||||
tar --strip-components=3 -xvf $CWD/$DATANAM-$VERSION-$RELEASE-unix-data.tar.xz $DATANAM-$VERSION-$RELEASE/binaries/data/
|
||||
cd $PKG
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -62,9 +62,6 @@ 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 {} \;
|
||||
|
||||
mkdir -p $PKG/usr/share/games
|
||||
cp -rv binaries/data $PKG/usr/share/games/0ad
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
Loading…
Reference in a new issue