Update magic-systems-of-systems-architect to 2024.3
This commit is contained in:
@@ -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).
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user