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 --- PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'PKGBUILD') 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" \ -- cgit v1.2.3-70-g09d2