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 | aur-251e4302251926d957ae1af8c5295bc011d81ed2.tar.gz |
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 @@ pkgbase = logisim-evolution pkgdesc = An educational tool for designing and simulating digital logic circuits (build from source) pkgver = 3.7.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/reds-heig/logisim-evolution install = logisim-evolution.install arch = any @@ -10,7 +10,7 @@ pkgname=logisim-evolution pkgver=3.7.0 -pkgrel=1 +pkgrel=2 pkgdesc='An educational tool for designing and simulating digital logic circuits (build from source)' provides=('logisim-evolution') conflicts=('logisim-evolution-git' 'logisim-evolution-bin') @@ -32,6 +32,11 @@ build() { ./gradlew shadowJar } +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's/https/http/' "support/Flatpak/com.github.reds.LogisimEvolution.xml" +} + package() { cd "${srcdir}/${pkgname}-${pkgver}" install -Dm644 "build/libs/logisim-evolution-${pkgver}-all.jar" \ diff --git a/logisim-evolution.desktop b/logisim-evolution.desktop deleted file mode 100644 index 3bda6b1e3079..000000000000 --- a/logisim-evolution.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Logisim Evolution -Comment=An educational tool for designing and simulating digital logic circuits -Exec=/usr/bin/logisim-evolution -Icon=logisim-evolution -Terminal=false -Type=Application -Categories=Education -MimeType=application/x-logisim-evolution diff --git a/logisim-evolution.xml b/logisim-evolution.xml deleted file mode 100644 index 92a358633f4f..000000000000 --- a/logisim-evolution.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> - <mime-type type="application/x-logisim-evolution"> - <sub-class-of type="application/xml"/> - <comment>Logisim Evolution Circuits</comment> - <icon name="logisim-evolution"/> - <glob pattern="*.circ"/> - </mime-type> -</mime-info> |