summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
-rw-r--r--logisim-evolution.desktop9
-rw-r--r--logisim-evolution.xml9
4 files changed, 7 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aed7967..2d93cba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
1pkgbase = logisim-evolution 1pkgbase = 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
diff --git a/PKGBUILD b/PKGBUILD
index 2961a12..2f17e86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
10 10
11pkgname=logisim-evolution 11pkgname=logisim-evolution
12pkgver=3.7.0 12pkgver=3.7.0
13pkgrel=1 13pkgrel=2
14pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' 14pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)'
15provides=('logisim-evolution') 15provides=('logisim-evolution')
16conflicts=('logisim-evolution-git' 'logisim-evolution-bin') 16conflicts=('logisim-evolution-git' 'logisim-evolution-bin')
@@ -32,6 +32,11 @@ build() {
32 ./gradlew shadowJar 32 ./gradlew shadowJar
33} 33}
34 34
35prepare() {
36 cd "${srcdir}/${pkgname}-${pkgver}"
37 sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml"
38}
39
35package() { 40package() {
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]
2Name=Logisim Evolution
3Comment=An educational tool for designing and simulating digital logic circuits
4Exec=/usr/bin/logisim-evolution
5Icon=logisim-evolution
6Terminal=false
7Type=Application
8Categories=Education
9MimeType=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>