Skip to content

Commit 090e2f3

Browse files
Poncewillysr
authored andcommitted
games/armagetronad: Updated for version 0.2.9.2.3.
Signed-off-by: Matteo Bernardini <[email protected]> Signed-off-by: Willy Sudiarto Raharjo <[email protected]>
1 parent 8041aee commit 090e2f3

File tree

2 files changed

+11
-23
lines changed

2 files changed

+11
-23
lines changed

games/armagetronad/armagetronad.SlackBuild

+8-20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Copyright 2010-2021 Matteo Bernardini <[email protected]>, Pisa, Italy
3+
# Copyright 2010-2025 Matteo Bernardini <[email protected]>, Pisa, Italy
44
# based on the hollywoodb's one on 12.2 repository
55
# All rights reserved.
66
#
@@ -28,8 +28,8 @@
2828
cd $(dirname $0) ; CWD=$(pwd)
2929

3030
PRGNAM=armagetronad
31-
VERSION=${VERSION:-0.2.9.1.0}
32-
BUILD=${BUILD:-2}
31+
VERSION=${VERSION:-0.2.9.2.3}
32+
BUILD=${BUILD:-1}
3333
TAG=${TAG:-_SBo}
3434
PKGTYPE=${PKGTYPE:-tgz}
3535

@@ -81,9 +81,6 @@ find -L . \
8181

8282
./bootstrap.sh
8383

84-
# Fix wrong detection of libpng in configure
85-
sed -i 's|png_check_sig|png_sig_cmp|g' configure || exit 1
86-
8784
# Using --disable-games since it peppers installation
8885
# paths with 'games' subdirectories and we're handling that manually.
8986
# --enable-useradd is used, but no user is created (see README)
@@ -123,25 +120,16 @@ cp -a AUTHORS COPYING NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION
123120
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
124121
rm -rf $PKG/etc/rc.d
125122

126-
# fix .desktop file and icons
127-
mkdir $PKG/usr/share/applications
128-
install -D -m 0644 desktop/$PRGNAM.desktop \
129-
$PKG/usr/share/applications/$PRGNAM.desktop
130-
install -D -m 0644 desktop/icons/48x48/$PRGNAM.png \
131-
$PKG/usr/share/pixmaps/$PRGNAM.png
132-
for i in 16 32 48 ; do
133-
install -D -m 0644 desktop/icons/${i}x${i}/$PRGNAM.png \
134-
$PKG/usr/share/icons/hicolor/${i}x${i}/apps/
135-
done
136-
137123
mkdir -p $PKG/install
138124
cat $CWD/slack-desc > $PKG/install/slack-desc
139125
cat $CWD/doinst.sh > $PKG/install/doinst.sh
140126
# don't overwrite old configs
141-
for config in aiplayers default settings settings_authentication settings_dedicated settings_visual ; do
142-
mv $PKG/etc/$PRGNAM/$config.cfg $PKG/etc/$PRGNAM/$config.cfg.new
143-
echo "config etc/$PRGNAM/$config.cfg.new" >> $PKG/install/doinst.sh
127+
cd $PKG/etc/$PRGNAM
128+
for config in *.cfg ; do
129+
mv ${config} ${config}.new
130+
echo "config etc/$PRGNAM/${config}.new" >> $PKG/install/doinst.sh
144131
done
132+
cd -
145133

146134
cd $PKG
147135
/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

games/armagetronad/armagetronad.info

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PRGNAM="armagetronad"
2-
VERSION="0.2.9.1.0"
2+
VERSION="0.2.9.2.3"
33
HOMEPAGE="http://www.armagetronad.org"
4-
DOWNLOAD="https://gitlab.com/armagetronad/armagetronad/-/archive/v0.2.9.1.0/armagetronad-v0.2.9.1.0.tar.bz2"
5-
MD5SUM="0c55c7ec2996daa2e834342d631e434d"
4+
DOWNLOAD="https://gitlab.com/armagetronad/armagetronad/-/archive/v0.2.9.2.3/armagetronad-v0.2.9.2.3.tar.bz2"
5+
MD5SUM="a8800a6fd659052875a1fb339946b208"
66
DOWNLOAD_x86_64=""
77
MD5SUM_x86_64=""
88
REQUIRES="ftgl protobuf3"

0 commit comments

Comments
 (0)