mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
b23616eba7
commit
3cdcc641bd
3 changed files with 9 additions and 8 deletions
|
@ -27,7 +27,7 @@ if [ "$1" != "" ]; then
|
||||||
git reset --hard "$1" || exit 1
|
git reset --hard "$1" || exit 1
|
||||||
fi
|
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 )
|
GIT_SHA=$( git rev-parse --short HEAD )
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# 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,
|
# 20230517 bkw: update for latest git, v1.2.9a+20230517_29980234,
|
||||||
# the sdl2 branch. This is done at the suggestion of the upstream
|
# the sdl2 branch. This is done at the suggestion of the upstream
|
||||||
# maintainer, because the master branch doesn't support SDL2's
|
# maintainer, because the master branch doesn't support SDL2's
|
||||||
|
@ -52,7 +55,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
||||||
PRGNAM=sdltrs
|
PRGNAM=sdltrs
|
||||||
SRCNAM=sdltrs-sdl2
|
SRCNAM=sdltrs-sdl2
|
||||||
EXENAM=sdl2trs
|
EXENAM=sdl2trs
|
||||||
VERSION=${VERSION:-1.2.9a+20230517_29980234}
|
VERSION=${VERSION:-1.2.27+20230518_7dcf4ca9}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -130,9 +133,7 @@ sed -e '/^\.TH/s, 1 , 6 ,' \
|
||||||
| gzip -9c > $PKG/usr/man/man6/$EXENAM.6.gz
|
| gzip -9c > $PKG/usr/man/man6/$EXENAM.6.gz
|
||||||
ln -s $EXENAM.6.gz $PKG/usr/man/man6/$PRGNAM.6.gz
|
ln -s $EXENAM.6.gz $PKG/usr/man/man6/$PRGNAM.6.gz
|
||||||
|
|
||||||
sed -i -e 's,Games;,Game;,' \
|
sed -i -e 's,^Exec=,&/usr/games/,' $EXENAM.desktop
|
||||||
-e 's,^Exec=,&/usr/games/,' \
|
|
||||||
$EXENAM.desktop
|
|
||||||
install -D -m0644 $EXENAM.desktop $PKG/usr/share/applications/$EXENAM.desktop
|
install -D -m0644 $EXENAM.desktop $PKG/usr/share/applications/$EXENAM.desktop
|
||||||
|
|
||||||
# 20230418 bkw: use upstream's icon, but pre-resized.
|
# 20230418 bkw: use upstream's icon, but pre-resized.
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="sdltrs"
|
PRGNAM="sdltrs"
|
||||||
VERSION="1.2.9a+20230517_29980234"
|
VERSION="1.2.27+20230518_7dcf4ca9"
|
||||||
HOMEPAGE="https://gitlab.com/jengun/sdltrs/"
|
HOMEPAGE="https://gitlab.com/jengun/sdltrs/"
|
||||||
DOWNLOAD="https://slackware.uk/~urchlay/src/sdltrs-sdl2-1.2.9a+20230517_29980234.tar.xz"
|
DOWNLOAD="https://slackware.uk/~urchlay/src/sdltrs-sdl2-1.2.27+20230518_7dcf4ca9.tar.xz"
|
||||||
MD5SUM="33cf0d222d4fa40142d24ee144995465"
|
MD5SUM="620585307cf9678e3d9bd20693b8582e"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="trs80-roms"
|
REQUIRES="trs80-roms"
|
||||||
|
|
Loading…
Reference in a new issue