From a5aba5fb797a7fbb8b3050f6cc317e101125376d Mon Sep 17 00:00:00 2001 From: JustAnyone Date: Fri, 12 Sep 2025 11:57:32 +0300 Subject: [PATCH] Update magic-systems-of-systems-architect to 2024.3 --- README.md | 5 +++++ magic-systems-of-systems-architect/.SRCINFO | 8 ++++---- magic-systems-of-systems-architect/PKGBUILD | 14 ++++++++------ magic-systems-of-systems-architect/README.md | 2 ++ 4 files changed, 19 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 406fe2d..5e4f211 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,11 @@ Navigate to the package directory and run makepkg -si ``` +You may also need to generate **.SRCINFO** file with the following command: +```sh +makepkg --printsrcinfo > .SRCINFO +``` + ## In chroot Based on [an Arch Wiki article](https://wiki.archlinux.org/title/Creating_packages#Using_pkgctl_to_build_in_a_clean_chroot_environment). diff --git a/magic-systems-of-systems-architect/.SRCINFO b/magic-systems-of-systems-architect/.SRCINFO index f674a8e..8e01501 100644 --- a/magic-systems-of-systems-architect/.SRCINFO +++ b/magic-systems-of-systems-architect/.SRCINFO @@ -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 diff --git a/magic-systems-of-systems-architect/PKGBUILD b/magic-systems-of-systems-architect/PKGBUILD index 5a70d40..b358d58 100644 --- a/magic-systems-of-systems-architect/PKGBUILD +++ b/magic-systems-of-systems-architect/PKGBUILD @@ -1,19 +1,20 @@ # Maintainer: Dominykas Svetikas 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" } diff --git a/magic-systems-of-systems-architect/README.md b/magic-systems-of-systems-architect/README.md index 1efbc02..4291446 100644 --- a/magic-systems-of-systems-architect/README.md +++ b/magic-systems-of-systems-architect/README.md @@ -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 \ No newline at end of file