baselayout-java-0.1.0.ebuild 700 B

12345678910111213141516171819202122232425262728
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit fdo-mime gnome2-utils
  5. DESCRIPTION="Baselayout for Java"
  6. HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Java"
  7. SRC_URI="https://dev.gentoo.org/~sera/distfiles/${P}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="amd64 ~arm ~arm64 ~ia64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
  11. IUSE=""
  12. RDEPEND="!<dev-java/java-config-2.2"
  13. pkg_postrm() {
  14. fdo-mime_desktop_database_update
  15. gnome2_icon_cache_update
  16. }
  17. pkg_postinst() {
  18. fdo-mime_desktop_database_update
  19. gnome2_icon_cache_update
  20. }