diff options
author | Yigit Sever | 2021-10-12 14:50:24 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-12 14:50:24 +0300 |
commit | 251e4302251926d957ae1af8c5295bc011d81ed2 (patch) | |
tree | c94cf2d1f6904d6aa7b37e6be03b588cbcc35c5b | |
parent | 580f76e509d71336955dc31b6fcf5aec3937acd1 (diff) | |
download | packages-251e4302251926d957ae1af8c5295bc011d81ed2.tar.gz packages-251e4302251926d957ae1af8c5295bc011d81ed2.tar.bz2 packages-251e4302251926d957ae1af8c5295bc011d81ed2.zip |
Fix mimetype warning
This fixes the following warning;
Wrong namespace on document element in
'/usr/share/mime/packages/logisim-evolution.xml' (should be
http://www.freedesktop.org/standards/shared-mime-info)
Apparently https works for upstream:
https://github.com/logisim-evolution/logisim-evolution/issues/678
-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> | ||