mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
games/atari++: Updated for version 1.73.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1c775917ed
commit
e87197ddd2
3 changed files with 9 additions and 17 deletions
|
@ -7,7 +7,7 @@
|
|||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
PRGNAM=atari++
|
||||
VERSION=${VERSION:-1.72}
|
||||
VERSION=${VERSION:-1.73}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -72,20 +72,18 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--build=$ARCH-slackware-linux
|
||||
|
||||
if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then
|
||||
make OPTIMIZER="$SLKCFLAGS"
|
||||
make OPTIMIZER="$SLKCFLAGS"
|
||||
else
|
||||
make
|
||||
make
|
||||
fi
|
||||
|
||||
# no DESTDIR support, --mandir is ignored, docs go to /usr/share/doc,
|
||||
# let's not use `make install' at all.
|
||||
mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -p $PKG/usr/bin $PKG/usr/man/man6 $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
install -s -m0755 -o root -g root $PRGNAM $PKG/usr/bin
|
||||
|
||||
# Man page should be section 1, not 6
|
||||
sed -e 's/^\(\.TH atari++\) 6/\1 1/' < $PRGNAM.man | \
|
||||
gzip -9c - > $PKG/usr/man/man1/$PRGNAM.1.gz
|
||||
gzip -9c < $PRGNAM.man > $PKG/usr/man/man6/$PRGNAM.6.gz
|
||||
|
||||
mkdir -p $PKG/usr/share/{applications,pixmaps}
|
||||
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications
|
||||
|
@ -94,7 +92,7 @@ cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
|
|||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
COPYRIGHT CREDITS ARCHITECTURE README.History README.LEGAL README.licence \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="atari++"
|
||||
VERSION="1.72"
|
||||
VERSION="1.73"
|
||||
HOMEPAGE="http://www.xl-project.com/"
|
||||
DOWNLOAD="http://www.xl-project.com/download/atari++_1.72.tar.gz"
|
||||
MD5SUM="bae961fbdc1cdda69ae723a7d6ba07ca"
|
||||
DOWNLOAD="http://www.xl-project.com/download/atari++_1.73.tar.gz"
|
||||
MD5SUM="13af66f605282f84ae33359e4c8d740a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -1,9 +1,3 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue