python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / endless-sky / patches / paths.patch
blobcf765e07cf9fec24d56e4b3d9c260c7ed336aacd
1 --- SConstruct.old 2017-12-06 12:54:20.524502000 -0800
2 +++ SConstruct 2017-12-12 12:39:21.764384877 -0800
3 @@ -18,7 +18,7 @@
4 env.Append(LINKFLAGS = ["-static-libstdc++"])
6 opts = Variables()
7 -opts.Add(PathVariable("PREFIX", "Directory to install under", "/usr/local", PathVariable.PathIsDirCreate))
8 +opts.Add(PathVariable("PREFIX", "Directory to install under", "/usr", PathVariable.PathIsDirCreate))
9 opts.Add(PathVariable("DESTDIR", "Destination root directory", "", PathVariable.PathAccept))
10 opts.Add(EnumVariable("mode", "Compilation mode", "release", allowed_values=("release", "debug", "profile")))
11 opts.Update(env)
12 @@ -66,7 +66,7 @@
15 # Install the binary:
16 -env.Install("$DESTDIR$PREFIX/games", sky)
17 +env.Install("$DESTDIR$PREFIX/bin", sky)
19 # Install the desktop file:
20 env.Install("$DESTDIR$PREFIX/share/applications", "endless-sky.desktop")