cantor, don't mess with mime info from shared_mime_info (#10017)

This commit is contained in:
Schrijvers Luc
2024-01-25 17:19:30 +00:00
committed by GitHub
parent 4b2681abde
commit 80463ce535

View File

@@ -19,7 +19,7 @@ HOMEPAGE="https://invent.kde.org/education/cantor"
COPYRIGHT="2016 Filipe Saraiva
2009-2015 Alexander Rieder"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="$HOMEPAGE/-/archive/v$portVersion/cantor-v$portVersion.tar.bz2"
CHECKSUM_SHA256="a3385f45fb07f1ed1296e9ffe207cf53dd42c9fa9fd9d6ef98ca28551e9d570e"
SOURCE_DIR="cantor-v$portVersion"
@@ -166,6 +166,9 @@ INSTALL()
{
make -C build install
rm -rf $dataDir/mime/{aliases,generic-icons,globs,globs2,icons,magic}
rm -rf $dataDir/mime/{mime.cache,subclasses,treemagic,types,version,XMLnamespaces}
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"