diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | logisim-evolution.desktop | 9 | ||||
-rw-r--r-- | logisim-evolution.xml | 9 |
4 files changed, 7 insertions, 20 deletions
@@ -1,7 +1,7 @@ | |||
1 | pkgbase = logisim-evolution | 1 | pkgbase = logisim-evolution |
2 | pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) | 2 | pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) |
3 | pkgver = 3.7.0 | 3 | pkgver = 3.7.0 |
4 | pkgrel = 1 | 4 | pkgrel = 2 |
5 | url = https://github.com/reds-heig/logisim-evolution | 5 | url = https://github.com/reds-heig/logisim-evolution |
6 | install = logisim-evolution.install | 6 | install = logisim-evolution.install |
7 | arch = any | 7 | arch = any |
@@ -10,7 +10,7 @@ | |||
10 | 10 | ||
11 | pkgname=logisim-evolution | 11 | pkgname=logisim-evolution |
12 | pkgver=3.7.0 | 12 | pkgver=3.7.0 |
13 | pkgrel=1 | 13 | pkgrel=2 |
14 | pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' | 14 | pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' |
15 | provides=('logisim-evolution') | 15 | provides=('logisim-evolution') |
16 | conflicts=('logisim-evolution-git' 'logisim-evolution-bin') | 16 | conflicts=('logisim-evolution-git' 'logisim-evolution-bin') |
@@ -32,6 +32,11 @@ build() { | |||
32 | ./gradlew shadowJar | 32 | ./gradlew shadowJar |
33 | } | 33 | } |
34 | 34 | ||
35 | prepare() { | ||
36 | cd "${srcdir}/${pkgname}-${pkgver}" | ||
37 | sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" | ||
38 | } | ||
39 | |||
35 | package() { | 40 | package() { |
36 | cd "${srcdir}/${pkgname}-${pkgver}" | 41 | cd "${srcdir}/${pkgname}-${pkgver}" |
37 | install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ | 42 | install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ |
diff --git a/logisim-evolution.desktop b/logisim-evolution.desktop deleted file mode 100644 index 3bda6b1..0000000 --- a/logisim-evolution.desktop +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | [Desktop Entry] | ||
2 | Name=Logisim Evolution | ||
3 | Comment=An educational tool for designing and simulating digital logic circuits | ||
4 | Exec=/usr/bin/logisim-evolution | ||
5 | Icon=logisim-evolution | ||
6 | Terminal=false | ||
7 | Type=Application | ||
8 | Categories=Education | ||
9 | MimeType=application/x-logisim-evolution | ||
diff --git a/logisim-evolution.xml b/logisim-evolution.xml deleted file mode 100644 index 92a3586..0000000 --- a/logisim-evolution.xml +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> | ||
3 | <mime-type type="application/x-logisim-evolution"> | ||
4 | <sub-class-of type="application/xml"/> | ||
5 | <comment>Logisim Evolution Circuits</comment> | ||
6 | <icon name="logisim-evolution"/> | ||
7 | <glob pattern="*.circ"/> | ||
8 | </mime-type> | ||
9 | </mime-info> | ||