parent
6d84c18b2f
commit
effc882f99
|
@ -0,0 +1,20 @@
|
|||
--- SConstruct.old 2017-12-06 12:54:20.524502000 -0800
|
||||
+++ SConstruct 2017-12-12 12:39:21.764384877 -0800
|
||||
@@ -18,7 +18,7 @@
|
||||
env.Append(LINKFLAGS = ["-static-libstdc++"])
|
||||
|
||||
opts = Variables()
|
||||
-opts.Add(PathVariable("PREFIX", "Directory to install under", "/usr/local", PathVariable.PathIsDirCreate))
|
||||
+opts.Add(PathVariable("PREFIX", "Directory to install under", "/usr", PathVariable.PathIsDirCreate))
|
||||
opts.Add(PathVariable("DESTDIR", "Destination root directory", "", PathVariable.PathAccept))
|
||||
opts.Add(EnumVariable("mode", "Compilation mode", "release", allowed_values=("release", "debug", "profile")))
|
||||
opts.Update(env)
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
|
||||
# Install the binary:
|
||||
-env.Install("$DESTDIR$PREFIX/games", sky)
|
||||
+env.Install("$DESTDIR$PREFIX/bin", sky)
|
||||
|
||||
# Install the desktop file:
|
||||
env.Install("$DESTDIR$PREFIX/share/applications", "endless-sky.desktop")
|
|
@ -0,0 +1,14 @@
|
|||
# Template file for 'endless-sky'
|
||||
pkgname=endless-sky
|
||||
version=0.9.8
|
||||
revision=1
|
||||
build_style=scons
|
||||
hostmakedepends="scons"
|
||||
makedepends="SDL2-devel glew-devel libjpeg-turbo-devel libmad-devel
|
||||
libopenal-devel libpng-devel"
|
||||
short_desc="Space exploring, trading, and combat game"
|
||||
maintainer="CoolOhm <micvlas@gmail.com>"
|
||||
homepage="http://endless-sky.github.io/"
|
||||
license="GPL-3"
|
||||
distfiles="https://github.com/endless-sky/endless-sky/archive/v${version}.tar.gz"
|
||||
checksum=69078c67656709646deb0c46fd960aa905601c23bb47c1696b0962ae8dff6d1e
|
Loading…
Reference in New Issue