-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New package: logisim-evolution-3.8.0
- Loading branch information
Showing
3 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
export JAVA_HOME=/usr/lib/jvm/openjdk17 | ||
$JAVA_HOME/bin/java -jar \ | ||
/usr/lib/@PKGNAME@/logisim-evolution-@VERSION@-all.jar $@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# 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/${pkgname} | ||
|
||
vbin ${FILESDIR}/logisim-evolution | ||
sed -i -e "s/@VERSION@/${version}/g" -e "s/@PKGNAME@/${pkgname}/g" \ | ||
${DESTDIR}/usr/bin/logisim-evolution | ||
|
||
vinstall artwork/logisim-evolution-icon.svg 0644 \ | ||
usr/share/icons/hicolor/apps com.github.reds.LogisimEvolution.svg | ||
vinstall support/Flatpak/com.github.reds.LogisimEvolution.desktop 0644 \ | ||
usr/share/applications | ||
} |