diff --git a/srcpkgs/unknown-horizons/patches/py38.patch b/srcpkgs/unknown-horizons/patches/py38.patch new file mode 100644 index 00000000000..59194750cd1 --- /dev/null +++ b/srcpkgs/unknown-horizons/patches/py38.patch @@ -0,0 +1,14 @@ +--- setup.py.orig ++++ setup.py +@@ -39,10 +39,7 @@ + # Ensure we are in the correct directory + os.chdir(os.path.realpath(os.path.dirname(__file__))) + +-if platform.dist()[0].lower() in ('debian', 'ubuntu'): +- executable_path = 'games' +-else: +- executable_path = 'bin' ++executable_path = 'bin' + + + # this trick is for setting RELEASE_VERSION if the code is cloned from git repository diff --git a/srcpkgs/unknown-horizons/template b/srcpkgs/unknown-horizons/template index b5fc593b744..6e81970800d 100644 --- a/srcpkgs/unknown-horizons/template +++ b/srcpkgs/unknown-horizons/template @@ -1,7 +1,7 @@ # Template file for 'unknown-horizons' pkgname=unknown-horizons version=2019.1 -revision=2 +revision=3 archs=noarch build_style=python3-module hostmakedepends="python3 intltool git python3-Pillow"