system/sdltrs: Updated for version 1.2.27+20230518_7dcf4ca9.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-05-24 02:35:38 -04:00 committed by Willy Sudiarto Raharjo
parent b23616eba7
commit 3cdcc641bd
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 9 additions and 8 deletions

View file

@ -27,7 +27,7 @@ if [ "$1" != "" ]; then
git reset --hard "$1" || exit 1
fi
VERTAG=$( git tag -l | tail -1 | sed 's,^v,,' )
VERTAG=$( git tag --sort=version:refname | tail -1 | sed 's,^v,,' )
GIT_SHA=$( git rev-parse --short HEAD )

View file

@ -24,6 +24,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20230524 bkw: previous update had wrong version number. use latest
# git (with fix for .desktop file), with correct tag.
# 20230517 bkw: update for latest git, v1.2.9a+20230517_29980234,
# the sdl2 branch. This is done at the suggestion of the upstream
# maintainer, because the master branch doesn't support SDL2's
@ -52,7 +55,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sdltrs
SRCNAM=sdltrs-sdl2
EXENAM=sdl2trs
VERSION=${VERSION:-1.2.9a+20230517_29980234}
VERSION=${VERSION:-1.2.27+20230518_7dcf4ca9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -130,9 +133,7 @@ sed -e '/^\.TH/s, 1 , 6 ,' \
| gzip -9c > $PKG/usr/man/man6/$EXENAM.6.gz
ln -s $EXENAM.6.gz $PKG/usr/man/man6/$PRGNAM.6.gz
sed -i -e 's,Games;,Game;,' \
-e 's,^Exec=,&/usr/games/,' \
$EXENAM.desktop
sed -i -e 's,^Exec=,&/usr/games/,' $EXENAM.desktop
install -D -m0644 $EXENAM.desktop $PKG/usr/share/applications/$EXENAM.desktop
# 20230418 bkw: use upstream's icon, but pre-resized.

View file

@ -1,8 +1,8 @@
PRGNAM="sdltrs"
VERSION="1.2.9a+20230517_29980234"
VERSION="1.2.27+20230518_7dcf4ca9"
HOMEPAGE="https://gitlab.com/jengun/sdltrs/"
DOWNLOAD="https://slackware.uk/~urchlay/src/sdltrs-sdl2-1.2.9a+20230517_29980234.tar.xz"
MD5SUM="33cf0d222d4fa40142d24ee144995465"
DOWNLOAD="https://slackware.uk/~urchlay/src/sdltrs-sdl2-1.2.27+20230518_7dcf4ca9.tar.xz"
MD5SUM="620585307cf9678e3d9bd20693b8582e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="trs80-roms"