opensurge: update to 0.5.2.

This commit is contained in:
Andrew Benson 2021-01-27 11:07:54 -06:00 committed by Andrew Benson
parent 620642a9c8
commit 75fe2d6cee
3 changed files with 7 additions and 14 deletions

View file

@ -1,11 +0,0 @@
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -651,7 +651,7 @@
# Installing on *nix
IF(UNIX)
INSTALL(CODE "MESSAGE(\"Installing ${GAME_NAME} ${GAME_VERSION}... Make sure that you have the appropriate privileges.\")")
- INSTALL(TARGETS "${GAME_UNIXNAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
+ INSTALL(TARGETS "${GAME_UNIXNAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
INSTALL(FILES LICENSE README.md CHANGES.md logo.png surge.png surge.rocks DESTINATION "${GAME_DATADIR}")
INSTALL(DIRECTORY characters scripts sprites config images levels musics quests samples scripts themes languages fonts licenses DESTINATION "${GAME_DATADIR}" PATTERN ".git" EXCLUDE)
IF(DESKTOP_INSTALL)

View file

@ -1,7 +1,7 @@
# Template file for 'opensurge'
pkgname=opensurge
version=0.5.1.2
revision=4
version=0.5.2
revision=1
build_style=cmake
hostmakedepends="surgescript pkg-config"
makedepends="allegro5-devel surgescript surgescript-devel"
@ -10,5 +10,9 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://opensurge2d.org/"
distfiles="https://github.com/alemart/opensurge/archive/v${version}.tar.gz"
checksum=d060e3215231741ce0b4e5b897af52f8755c57660c8a33856bf921c83af18ba2
checksum=838b8ba506e45c800091d8ba7bb830d024907934fba35bf369d92fe13feaa3de
replaces="opensurge-data>=0"
pre_configure() {
vsed -i CMakeLists.txt -e 's/GAME_BINDIR "games"/GAME_BINDIR "bin"/'
}