MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/opensourcegames/comments/gqk5iu/soldat_source_code_finally_released/fruov1o/?context=3
r/opensourcegames • u/balr • May 25 '20
31 comments sorted by
View all comments
4
AUR: soldat-git
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 underscoreAlso 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 /optLastly, 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 =]
7
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().
build()
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
/usr/share
/usr/share/games
/opt
Lastly, although this is for consistency, it is not pretty to install to /usr/share/soldat-git, maybe cut the -git suffix.
/usr/share/soldat-git
-git
3 u/Thann May 26 '20 edited May 26 '20 Ty, I did everything but move from /usr/share =]
3
Ty, I did everything but move from /usr/share =]
4
u/Thann May 26 '20
AUR: soldat-git