diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-24 02:35:38 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-27 08:08:57 +0700 |
commit | 3cdcc641bda015e50e9efb89ece449ab97d8871b (patch) | |
tree | fcc8fa319724d98fd8adb143a0ab9007a84e29da | |
parent | b23616eba7a39e2f3541735656762e7a047f5e15 (diff) |
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>
-rw-r--r-- | system/sdltrs/git2tarxz.sh | 2 | ||||
-rw-r--r-- | system/sdltrs/sdltrs.SlackBuild | 9 | ||||
-rw-r--r-- | system/sdltrs/sdltrs.info | 6 |
3 files changed, 9 insertions, 8 deletions
diff --git a/system/sdltrs/git2tarxz.sh b/system/sdltrs/git2tarxz.sh index 36c790bdc73da..e7a4f38c468f1 100644 --- a/system/sdltrs/git2tarxz.sh +++ b/system/sdltrs/git2tarxz.sh @@ -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 ) diff --git a/system/sdltrs/sdltrs.SlackBuild b/system/sdltrs/sdltrs.SlackBuild index 67a55de4951ba..353f37989c17f 100644 --- a/system/sdltrs/sdltrs.SlackBuild +++ b/system/sdltrs/sdltrs.SlackBuild @@ -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. diff --git a/system/sdltrs/sdltrs.info b/system/sdltrs/sdltrs.info index 9a7f89ecc40dd..3cfe389f0ae59 100644 --- a/system/sdltrs/sdltrs.info +++ b/system/sdltrs/sdltrs.info @@ -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" |