From 251e4302251926d957ae1af8c5295bc011d81ed2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 12 Oct 2021 14:50:24 +0300 Subject: 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 --- .SRCINFO | 2 +- PKGBUILD | 7 ++++++- logisim-evolution.desktop | 9 --------- logisim-evolution.xml | 9 --------- 4 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 logisim-evolution.desktop delete mode 100644 logisim-evolution.xml diff --git a/.SRCINFO b/.SRCINFO index aed7967..2d93cba 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 2961a12..2f17e86 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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 3bda6b1..0000000 --- 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 92a3586..0000000 --- a/logisim-evolution.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - Logisim Evolution Circuits - - - - -- cgit v1.2.3-70-g09d2