Package Details: gmat-bin 2026a-1

Git Clone URL: https://aur.archlinux.org/gmat-bin.git (read-only, click to copy)
Package Base: gmat-bin
Description: An open-source space mission analysis tool
Upstream URL: https://gmat.atlassian.net/wiki/spaces/GW/overview
Licenses: Apache
Conflicts: gmat
Submitter: h313
Maintainer: Alesha72003
Last Packager: Alesha72003
Votes: 1
Popularity: 0.010957
First Submitted: 2020-05-31 20:37 (UTC)
Last Updated: 2026-04-09 17:17 (UTC)

Latest Comments

xlucn commented on 2026-09-14 05:56 (UTC)

Thanks for maintaining the package!

Here are some possible improvements I come up with: 1. Copy the files from $srcdir. makepkg by default extract the source tar files so we don't need to extract again. 2. I added a environment variable LD_LIBRARY_PATH to load GMAT's libs, as recommended in its readme. This solves the issue of texture files not being loaded.

Here is the patch:

diff --git a/PKGBUILD b/PKGBUILD
index 3ea3d41..c834515 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,14 +16,11 @@ source=(
 )

 package(){
-  # Extract package
-  tar xf gmat-ubuntu-x64-R${pkgver}.tar.gz -C "${pkgdir}"
-
-  # Move to /opt
+  # Install to /opt
   mkdir "${pkgdir}/opt"
-  mv "${pkgdir}/GMAT/" "${pkgdir}/opt/"
+  cp -dr --no-preserve="ownership" GMAT/ "${pkgdir}/opt/GMAT"

-  # Make output world-readable
+  # Make output world-writeable
   chmod -R 777 "${pkgdir}/opt/GMAT/R${pkgver}/output/"
   chmod -R 777 "${pkgdir}/opt/GMAT/R${pkgver}/data/gui_config/"

diff --git a/gmat.desktop b/gmat.desktop
index 7c16d43..99b5584 100755
--- a/gmat.desktop
+++ b/gmat.desktop
@@ -1,6 +1,6 @@
 [Desktop Entry]
 Comment=General Mission Analysis Tool
-Exec=/opt/GMAT/R2026a/bin/GMAT-R2026a
+Exec=env LD_LIBRARY_PATH=/opt/GMAT/R2026a/lib:$LD_LIBRARY_PATH /opt/GMAT/R2026a/bin/GMAT-R2026a
 Icon=/opt/GMAT/R2026a/data/graphics/icons/GMATLogo.png
 Name=GMAT R2026a
 Path=/opt/GMAT/R2026a/bin