dev-util/codeblocks: update live ebuild
authorSergey Torokhov <torokhov-s-a@yandex.ru>
Tue, 31 Mar 2020 01:53:02 +0000 (04:53 +0300)
committerMart Raudsepp <leio@gentoo.org>
Wed, 8 Apr 2020 06:34:59 +0000 (09:34 +0300)
- fix HOMEPAGE to use https
- replace xdg-utils eclass with xdg eclass

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
dev-util/codeblocks/codeblocks-9999.ebuild

index 5350bd29d7cc9df50308b2876cf422d5c61772c1..580a1b03b545733f42c1d14302ca4faa8fe1e35f 100644 (file)
@@ -5,10 +5,10 @@ EAPI=7
 
 WX_GTK_VER="3.0-gtk3"
 
-inherit autotools subversion wxwidgets xdg-utils
+inherit autotools subversion wxwidgets xdg
 
 DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
-HOMEPAGE="http://www.codeblocks.org/"
+HOMEPAGE="https://codeblocks.org/"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
@@ -58,13 +58,9 @@ pkg_postinst() {
        elog "The Symbols Browser is disabled due to it causing crashes."
        elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
 
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-       xdg_mimeinfo_database_update
+       xdg_pkg_postinst
 }
 
 pkg_postrm() {
-       xdg_desktop_database_update
-       xdg_icon_cache_update
-       xdg_mimeinfo_database_update
+       xdg_pkg_postrm
 }