commit:     8d82b9a2b41ad78995e0c95d24ed1dfc2d6223cd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 10:59:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 11:10:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d82b9a2

app-office/texstudio: sync live

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-office/texstudio/texstudio-9999.ebuild | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/app-office/texstudio/texstudio-9999.ebuild 
b/app-office/texstudio/texstudio-9999.ebuild
index 86d41dcfcdf..5088db2d168 100644
--- a/app-office/texstudio/texstudio-9999.ebuild
+++ b/app-office/texstudio/texstudio-9999.ebuild
@@ -1,16 +1,15 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit prefix qmake-utils xdg-utils desktop git-r3
+inherit desktop git-r3 prefix qmake-utils xdg
 
 MY_PV="${PV/_/}"
-
 DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
 HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio";
-#SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz 
-> ${P}.tar.gz"
 EGIT_REPO_URI="https://github.com/texstudio-org/texstudio.git";
+S="${WORKDIR}/${PN}-${MY_PV}"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -45,8 +44,6 @@ DEPEND="${COMMON_DEPEND}"
 
 BDEPEND="virtual/pkgconfig"
 
-S=${WORKDIR}/${PN}-${MY_PV}
-
 src_prepare() {
        default
        # TODO: find hunspell quazip utilities/poppler-data qtsingleapplication 
-delete || die
@@ -74,13 +71,3 @@ src_install() {
        done
        emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
 }
-
-pkg_postinst() {
-       xdg_icon_cache_update
-       xdg_desktop_database_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-       xdg_desktop_database_update
-}

Reply via email to