New package: logisim-evolution-3.8.0

This commit is contained in:
Humberto Gomes 2023-01-12 17:02:16 +00:00 committed by classabbyamp
parent 1da499d807
commit 70dacae5f8
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/sh
export JAVA_HOME=/usr/lib/jvm/openjdk17
$JAVA_HOME/bin/java -jar /usr/lib/logisim-evolution/logisim-evolution.jar $@

View File

@ -0,0 +1,25 @@
From 4bbbb9d2fecbc4f0b357ec2a7dd28da5f7698c54 Mon Sep 17 00:00:00 2001
From: voidbert <humbertogilgomes@protonmail.com>
Date: Fri, 13 Jan 2023 14:13:41 +0000
Subject: [PATCH] Desktop entry update
---
support/Flatpak/com.github.reds.LogisimEvolution.desktop | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/Flatpak/com.github.reds.LogisimEvolution.desktop b/support/Flatpak/com.github.reds.LogisimEvolution.desktop
index 60a3521ac..312e80f35 100644
--- a/support/Flatpak/com.github.reds.LogisimEvolution.desktop
+++ b/support/Flatpak/com.github.reds.LogisimEvolution.desktop
@@ -2,7 +2,7 @@
Name=Logisim Evolution
GenericName=Logisim Logic Circuit Simulator
Comment=Digital Logic Circuit Simulator
-Exec=LogisimEvolution.sh
+Exec=logisim-evolution
Icon=com.github.reds.LogisimEvolution
Terminal=false
Type=Application
--
2.39.0

View File

@ -0,0 +1,28 @@
# Template file for 'logisim-evolution'
pkgname=logisim-evolution
version=3.8.0
revision=1
hostmakedepends="openjdk17 gradle"
depends="openjdk17-jre"
short_desc="Digital logic design tool and simulator"
maintainer="voidbert <humbertogilgomes@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/logisim-evolution/logisim-evolution"
changelog="https://github.com/logisim-evolution/logisim-evolution/raw/master/CHANGES.md"
distfiles="https://github.com/logisim-evolution/logisim-evolution/archive/refs/tags/v${version}.tar.gz"
checksum=7a49558a490a0df886b3ea488f12e4ea887a2ec8c278872dca39b2bebfaed3ee
do_build() {
export JAVA_HOME=/usr/lib/jvm/openjdk17
gradle --no-daemon shadowJar
}
do_install() {
vinstall build/libs/logisim-evolution-${version}-all.jar 0644 usr/lib/logisim-evolution logisim-evolution.jar
vbin ${FILESDIR}/logisim-evolution
vinstall artwork/logisim-evolution-icon.svg 0644 usr/share/icons/hicolor/scalable/apps com.github.reds.LogisimEvolution.svg
vinstall support/Flatpak/com.github.reds.LogisimEvolution.xml 0644 usr/share/mime/packages
vinstall support/Flatpak/com.github.reds.LogisimEvolution.desktop 0644 usr/share/applications
}