Contributed Gentoo's EBUILD for obmenugen v0.5

Written for OpenBox Menu Generator by Pável Varela Rodríguez on 2011-12-28

Hi all, the user RodionD [https://launchpad.net/~rodion2000] graciously wanted to share a Gentoo's EBUILD he has made to create an obmenugen's package for that Linux distribution. This is for the latest version (0.5).

Thanks a lot RodionD, you have become a really active contributor.

The EBUILD [obmenugen-0.5-r72.ebuild]

======= COPY FROM HERE ========
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit versionator
DESCRIPTION="Flexible, easy to use and (really) fast static/dinamic menu
generator for the Openbox Window Manager."
HOMEPAGE="https://launchpad.net/obmenugen"
SRC_URI="http://launchpad.net/${PV}/${PV}/+download/${PN}-${PVR}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="!x11-misc/obmenugen-bin"
RDEPEND="${DEPEND}
               x11-wm/openbox
               dev-lang/dmd:1
               dev-libs/phobos:1
               app-text/txt2tags"

S=${WORKDIR}/${PN}-${PVR}

src_install() {
       cd ${S}/usr/bin
       dobin obmenugen
       cd ${S}/usr/share/doc/obmenugen/html
       dohtml obmenugen.html
       cd ${S}/translations
       dodir /usr/share/obmenugen/translations/de/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/de/LC_MESSAGES
       doins ./de/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/es/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/es/LC_MESSAGES
       doins ./es/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/fr/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/fr/LC_MESSAGES
       doins ./fr/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/ro/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/ro/LC_MESSAGES
       doins ./ro/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/ru/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/ru/LC_MESSAGES
       doins ./ru/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/uk/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/uk/LC_MESSAGES
       doins ./uk/LC_MESSAGES/obmenugen.po
       dodir /usr/share/obmenugen/translations/zh/LC_MESSAGES
       insinto /usr/share/obmenugen/translations/zh/LC_MESSAGES
       doins ./zh/LC_MESSAGES/obmenugen.po
}

======= TO HERE ========

Please, be kind to report any (un)successful stories using this ebuild to me or directly to RodionD.

Thanks again to RodionD and to all people out there using and contributing to obmenugen

Read all announcements