New package: VVVVVV-2.4.1.
This commit is contained in:
parent
220392d999
commit
41804a00f5
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/desktop_version/src/FileSystemUtils.cpp b/desktop_version/src/FileSystemUtils.cpp
|
||||||
|
index 5643182d..3a1a8c68 100644
|
||||||
|
--- a/desktop_version/src/FileSystemUtils.cpp
|
||||||
|
+++ b/desktop_version/src/FileSystemUtils.cpp
|
||||||
|
@@ -283,7 +283,7 @@ int FILESYSTEM_init(char *argvZero, char* baseDir, char *assetsPath, char* langD
|
||||||
|
mkdir(temp, 0777);
|
||||||
|
}
|
||||||
|
|
||||||
|
- basePath = SDL_GetBasePath();
|
||||||
|
+ basePath = SDL_strdup("/usr/share/vvvvvv/");
|
||||||
|
|
||||||
|
if (basePath == NULL)
|
||||||
|
{
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Template file for 'VVVVVV'
|
||||||
|
pkgname=VVVVVV
|
||||||
|
version=2.4.1
|
||||||
|
revision=1
|
||||||
|
build_wrksrc=desktop_version
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="$(vopt_bool makeandplay MAKEANDPLAY)"
|
||||||
|
makedepends="SDL2-devel SDL2_mixer-devel"
|
||||||
|
short_desc="Platformer exploring what if you reversed gravity instead of jumping?"
|
||||||
|
maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
|
||||||
|
license="custom:VVVVVV Source Code License v1.0"
|
||||||
|
homepage="https://thelettervsixtim.es/"
|
||||||
|
changelog="https://github.com/TerryCavanagh/VVVVVV/releases"
|
||||||
|
distfiles="https://github.com/TerryCavanagh/VVVVVV/releases/download/$version/VVVVVV-$version.zip
|
||||||
|
https://thelettervsixtim.es/makeandplay/data.zip>data_${version}.zip"
|
||||||
|
checksum="c453373cfa29456318c2ece7d452b2e971595004c1b353cd7073f6912b3c3d12
|
||||||
|
c767809594f6472da9f56136e76657e38640d584164a46112250ac6293ecc0ea"
|
||||||
|
repository=nonfree
|
||||||
|
skip_extraction="data_${version}.zip"
|
||||||
|
|
||||||
|
build_options="makeandplay"
|
||||||
|
desc_option_makeandplay="Disable official levels"
|
||||||
|
build_options_default="makeandplay"
|
||||||
|
|
||||||
|
if [ "$build_option_makeandplay" ]; then
|
||||||
|
short_desc+=" - Make and Play edition"
|
||||||
|
fi
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin build/VVVVVV
|
||||||
|
vinstall "$XBPS_SRCDISTDIR/$pkgname-$version/data_${version}.zip" 644 usr/share/vvvvvv data.zip
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense ../LICENSE.md
|
||||||
|
vlicense "../License exceptions.md"
|
||||||
|
}
|
Loading…
Reference in New Issue