Update magic-systems-of-systems-architect to 2024.3

This commit is contained in:
2025-09-12 11:57:32 +03:00
parent 3410e3a03c
commit a5aba5fb79
4 changed files with 19 additions and 10 deletions

View File

@@ -1,15 +1,15 @@
pkgbase = magic-systems-of-systems-architect
pkgdesc = Powerful modeling tool based on the MagicDraw platform by No Magic
pkgver = 2022.2
pkgver = 2024.3
pkgrel = 1
url = https://docs.nomagic.com/display/MSOSA2022xR2
url = https://docs.nomagic.com/display/MSOSA2024xR3
arch = any
license = custom
makedepends = desktop-file-utils
depends = java-runtime=11
source = local://Magic_Systems_of_Systems_Architect_2022x_Refresh2_unix.sh
source = local://Magic_Systems_of_Systems_Architect_2024x_Refresh3_unix.sh
source = installer.properties
sha256sums = 2c32231cc6f0eaf5fe33eb62ea811db5684874c499eeec72d6a252db20983e1e
sha256sums = dcfeebb50a42c180ad743d82de391c4f46b80fca73a7fe9da52ea08fffae5075
sha256sums = SKIP
pkgname = magic-systems-of-systems-architect

View File

@@ -1,19 +1,20 @@
# Maintainer: Dominykas Svetikas <dominykas@svetikas.lt>
pkgname='magic-systems-of-systems-architect'
pkgver='2022.2' #2022x Refresh2
pkgver='2024.3' #2024x Refresh3
pkgrel='1'
pkgdesc='Powerful modeling tool based on the MagicDraw platform by No Magic'
url='https://docs.nomagic.com/display/MSOSA2022xR2'
url='https://docs.nomagic.com/display/MSOSA2024xR3'
arch=('any')
license=('custom')
depends=('java-runtime=11')
makedepends=('desktop-file-utils')
# Obtain from http://failai.isk.ktu.lt/
source=(
"local://Magic_Systems_of_Systems_Architect_2022x_Refresh2_unix.sh"
"local://Magic_Systems_of_Systems_Architect_2024x_Refresh3_unix.sh"
"installer.properties"
)
sha256sums=(
'2c32231cc6f0eaf5fe33eb62ea811db5684874c499eeec72d6a252db20983e1e'
'dcfeebb50a42c180ad743d82de391c4f46b80fca73a7fe9da52ea08fffae5075'
'SKIP'
)
@@ -38,7 +39,8 @@ build() {
mkdir -p "$srcdir/.local/share/applications"
mkdir -p "$srcdir/magic-systems-of-systems-architect/userhome"
./Magic_Systems_of_Systems_Architect_2022x_Refresh2_unix.sh -f "$srcdir/installer.properties.tmp" -i console -l en
chmod +x Magic_Systems_of_Systems_Architect_2024x_Refresh3_unix.sh
./Magic_Systems_of_Systems_Architect_2024x_Refresh3_unix.sh -f "$srcdir/installer.properties.tmp" -i console -l en
# Update the desktop file with the correct path
desktop-file-edit .local/share/applications/*.desktop --set-key=Exec --set-value="magic-systems-of-systems-architect"
@@ -57,6 +59,6 @@ package() {
# Install the desktop file
install -d "${pkgdir}/usr/share/pixmaps"
install -Dm644 $srcdir/.local/share/applications/Magic_Systems_of_Systems_Architect_2022x_Refresh2.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 $srcdir/.local/share/applications/Magic_Systems_of_Systems_Architect_2024x_Refresh3.desktop $pkgdir/usr/share/applications/$pkgname.desktop
ln -s /opt/$pkgname/bin/msosa.ico "${pkgdir}/usr/share/pixmaps/$pkgname.ico"
}

View File

@@ -23,3 +23,5 @@ java.lang.NoClassDefFoundError: Could not initialize class Flexeraare
at com.zerog.lax.LAX.main(Unknown Source)
SHUTDOWN REQUESTED
```
TODO: investigate whether we could just support building from the non-installation ZIP