r/opensourcegames • • May 25 '20

SOLDAT source code finally released!

https://github.com/Soldat/soldat
146 Upvotes

31 comments sorted by

View all comments

4

u/Thann May 26 '20

7

u/[deleted] May 26 '20 edited May 26 '20

installdir='/usr/share'

Don't do that. Custom variables should at least start with an underscore

Also you should compile in build() and package in package(), you are doing everything in package().

Also executables are not supposed to be in /usr/share, if everything should be in the same place consider using /usr/share/games or /opt

Lastly, although this is for consistency, it is not pretty to install to /usr/share/soldat-git, maybe cut the -git suffix.

3

u/Thann May 26 '20 edited May 26 '20

Ty, I did everything but move from /usr/share =]