spacepaste

  1.  
  2. # Copyright 1999-2017 Gentoo Foundation
  3. # Distributed under the terms of the GNU General Public License v2
  4. # $Id$
  5. EAPI=6
  6. inherit git-r3 qmake-utils
  7. DESCRIPTION="менеджер бутылок для wine"
  8. HOMEPAGE="https://github.com/sr-tream/WineBottle"
  9. EGIT_REPO_URI="https://github.com/sr-tream/WineBottle"
  10. LICENSE="GPL-3"
  11. SLOT="0"
  12. KEYWORDS="~amd64 ~x86"
  13. RDEPEND="dev-qt/qtgui:5"
  14. DEPEND="${RDEPEND}"
  15. src_prepare() {
  16. default
  17. }
  18. src_configure(){
  19. eqmake5 PREFIX="${EPREFIX}/usr" L_BINDIR="${EPREFIX}/usr/bin" \
  20. L_ETCDIR="${EPREFIX}/etc" L_LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
  21. LIBPREFIX="${EPREFIX}/usr/$(get_libdir)"
  22. }
  23. src_install(){
  24. default
  25. dobin WineBottle
  26. insinto /usr/share/applications
  27. doins "${FILESDIR}"/WineBottle.desktop
  28. insinto /usr/share/pixmaps
  29. doins "${FILESDIR}"/WineBottle.png
  30. }
  31.