qtpass-1.1.6.ebuild 836 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. MY_P="QtPass-${PV}"
  5. inherit qmake-utils
  6. DESCRIPTION="multi-platform GUI for pass, the standard unix password manager"
  7. HOMEPAGE="https://qtpass.org/"
  8. SRC_URI="https://github.com/IJHack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  9. LICENSE="GPL-3"
  10. SLOT="0"
  11. KEYWORDS="~x86 ~amd64"
  12. IUSE=""
  13. DOCS=( FAQ.md README.md CONTRIBUTING.md )
  14. S="${WORKDIR}/${MY_P}"
  15. RDEPEND="app-admin/pass
  16. dev-qt/qtcore:5
  17. dev-qt/qtgui:5[xcb]
  18. dev-qt/qtnetwork:5
  19. dev-qt/qtwidgets:5
  20. net-misc/x11-ssh-askpass"
  21. DEPEND="${RDEPEND}
  22. dev-qt/linguist-tools:5"
  23. src_configure() {
  24. eqmake5 PREFIX="${D}"/usr
  25. }
  26. src_install() {
  27. default
  28. doman ${PN}.1
  29. insinto /usr/share/applications
  30. doins "${PN}.desktop"
  31. newicon artwork/icon.svg "${PN}-icon.svg"
  32. }