qtpass-1.1.5.ebuild 837 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Copyright 1999-2016 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="dev-qt/qtcore:5
  16. dev-qt/qtgui:5[xcb]
  17. dev-qt/qtwidgets:5
  18. dev-qt/qtnetwork:5
  19. app-admin/pass
  20. net-misc/x11-ssh-askpass"
  21. DEPEND="${RDEPEND}
  22. dev-qt/linguist-tools:5
  23. "
  24. src_configure() {
  25. eqmake5 PREFIX="${D}"/usr
  26. }
  27. src_install() {
  28. default
  29. doman ${PN}.1
  30. insinto /usr/share/applications
  31. doins "${PN}.desktop"
  32. newicon artwork/icon.svg "${PN}-icon.svg"
  33. }