Package Details: linux-air-combat 09p37-2

Git Clone URL: https://aur.archlinux.org/linux-air-combat.git (read-only, click to copy)
Package Base: linux-air-combat
Description: Free open source combat flight simulator
Upstream URL: https://askmisterwizard.com/2019/LinuxAirCombat/LinuxAirCombat.htm
Keywords: air combat flight game simulator
Licenses: unknown
Submitter: alfrednewman
Maintainer: alfrednewman
Last Packager: alfrednewman
Votes: 5
Popularity: 0.45
First Submitted: 2021-05-16 21:44 (UTC)
Last Updated: 2023-08-31 07:37 (UTC)

Pinned Comments

alfrednewman commented on 2021-05-16 22:01 (UTC)

For users compiling this on Raspberry Pi with Arch Linux ARM, go to common.h and uncomment this on line 27:

// #define RASPBIAN // Raspberry Pi requires a few tweaks. Define RASPBIAN to activate them or comment this line out.

Latest Comments

1 2 Next › Last »

vasya commented on 2023-08-05 06:55 (UTC)

Also, thanks for bumping the version and addressing the two notes below so far!

vasya commented on 2023-08-05 06:54 (UTC)

@alfrednewman: the problem with both $variable and ${variable} in a shell is how it is expanded, e.g. how the value is being "inserted" here. If the directory you're building the project in is my builds (with a space), then a statement such as rm ${pkgdir} will actually be expanded and executed as rm "my" "builds", or effectively

rm my
rm builds

This of course applies to any command. And the issue is not just with space but with some other symbols in directory names. It's quite unfortunate that shells do it this way -- and even have to do it this way to be POSIX conformant -- but that's the state of things.

PKGBUILDs are essentially somewhat structured shell scripts, and its syntax and rules for variable expansion apply as well.

alfrednewman commented on 2023-08-04 22:46 (UTC) (edited on 2023-08-04 22:47 (UTC) by alfrednewman)

@vasya I have just updated LAC to the latest version available. I've deleted the two unused variables that you brought up. I don't think it is necessary for $pkgdir to be used in quotes, but the curly brackets work fine. What do you mean by "regardless of which directory its cloned to"? $pkgdir is already relative to the folder its cloned to.

vasya commented on 2023-08-01 13:30 (UTC)

Hi! To maintainers: could you please fix some of the PKGBUILD issues? I'm trying to install the game via rua (warning: it's my own tool), and it gives a bunch of warnings, some perfectly legit I think.

_filename='Lac${pkgver}' seems to be unused. It is also quoted improperly (single quotes instead of double quotes), but even if the quotes would be correct, there's just no reason to keep the variable.

The variable RESOURCE_DIR (in capitals) is never used. The only used variable is the one in lowercase and with an underscore.

All instances of $pkgdir should ideally have double quotes around them, so that a build would work regardless of which directory the AUR project is cloned to.

I'm happy to make/propose all those changes myself as well, if desired.

Thanks regardless for the packaging of the game!

Mr.Smith1974 commented on 2023-07-16 08:07 (UTC)

Appimage version here: https://aur.archlinux.org/packages/linux-air-combat-appimage

bbosen commented on 2023-06-16 11:11 (UTC)

15Jun2023: I confirm that this package works perfectly on the current version of Manjaro Linux. Further details here:https://sourceforge.net/p/linuxaircombat/discussion/manjarolinuxandlac/thread/b0eb8b724f/

bbosen commented on 2022-10-02 19:09 (UTC)

Thanks for updating this to version 8.83. Users wishing to learn of the resulting changes can always consult the online ChangeLog at:

https://askmisterwizard.com/2019/LinuxAirCombat/LinuxAirCombatChangeLog.htm

alfrednewman commented on 2021-06-06 19:21 (UTC)

@bbosen No problem! :)