gentoo-overlay/dev-vcs/GitQlient/GitQlient-1.1.1.ebuild

44 lines
803 B
Bash
Raw Normal View History

# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils git-r3
DESCRIPTION="Multi-platform Git client written with Qt"
HOMEPAGE="https://github.com/francescmm/GitQlient https://francescmm.github.io/GitQlient"
EGIT_REPO_URI="https://github.com/francescmm/GitQlient.git"
EGIT_COMMIT="e9a208a"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-qt/qtgui-5.12"
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
eqmake5
}
src_install() {
dobin ${PN}
insinto "/usr"
doins -r "AppImage/${PN}/usr/share"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
xdg_icon_cache_update
}