diff options
author | Joe Sapp <nixphoeni@gentoo.org> | 2010-05-08 22:19:25 +0000 |
---|---|---|
committer | Joe Sapp <nixphoeni@gentoo.org> | 2010-05-08 22:19:25 +0000 |
commit | a60924189e7e3f0076bd1ea46d553a46b405f38e (patch) | |
tree | 16c4438b711aa95bb7a27c9478f035cc74bcc2fe /x11-plugins | |
parent | Simplified the eclass, since the rules for desklet and control submission hav... (diff) | |
download | gentoo-2-a60924189e7e3f0076bd1ea46d553a46b405f38e.tar.gz gentoo-2-a60924189e7e3f0076bd1ea46d553a46b405f38e.tar.bz2 gentoo-2-a60924189e7e3f0076bd1ea46d553a46b405f38e.zip |
Fixed for the new eclass
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/desklet-sudoku/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/desklet-sudoku/desklet-sudoku-0.3.ebuild | 36 |
2 files changed, 35 insertions, 8 deletions
diff --git a/x11-plugins/desklet-sudoku/ChangeLog b/x11-plugins/desklet-sudoku/ChangeLog index 264da4e32e36..12ebc66baf0b 100644 --- a/x11-plugins/desklet-sudoku/ChangeLog +++ b/x11-plugins/desklet-sudoku/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/desklet-sudoku -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-sudoku/ChangeLog,v 1.7 2009/04/30 22:24:56 nixphoeni Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-sudoku/ChangeLog,v 1.8 2010/05/08 22:19:25 nixphoeni Exp $ + + 08 May 2010; Joe Sapp <nixphoeni@gentoo.org> desklet-sudoku-0.3.ebuild: + Fixed for the new eclass 30 Apr 2009; Joe Sapp <nixphoeni@gentoo.org> desklet-sudoku-0.3: Keyworded ~amd64 diff --git a/x11-plugins/desklet-sudoku/desklet-sudoku-0.3.ebuild b/x11-plugins/desklet-sudoku/desklet-sudoku-0.3.ebuild index 61ba54d086a6..56b04d7269ba 100644 --- a/x11-plugins/desklet-sudoku/desklet-sudoku-0.3.ebuild +++ b/x11-plugins/desklet-sudoku/desklet-sudoku-0.3.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-sudoku/desklet-sudoku-0.3.ebuild,v 1.6 2009/04/30 22:24:56 nixphoeni Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-sudoku/desklet-sudoku-0.3.ebuild,v 1.7 2010/05/08 22:19:25 nixphoeni Exp $ -DESKLET_NAME="Sudoku" +DN="Sudoku" +DESKLET_NAME="${DN}" inherit gdesklets @@ -13,8 +14,31 @@ HOMEPAGE="http://archive.gdesklets.info/" SRC_URI="http://archive.gdesklets.info/${MY_P}.tar.gz" LICENSE="as-is" -SLOT="0" -IUSE="" KEYWORDS="~ia64 ~ppc ~x86 ~amd64" -RDEPEND=">=gnome-extra/gdesklets-core-0.35" +src_install() { + + DESKLET_NAME="${DN}" + unset CONTROL_NAME + cd "${WORKDIR}/Displays/${DESKLET_NAME}" + gdesklets_src_install + + CONTROL_NAME="${DN}" + unset DESKLET_NAME + cd "${WORKDIR}/controls/${CONTROL_NAME}" + gdesklets_src_install + +} + +pkg_postinst() { + + DESKLET_NAME="${DN}" + unset CONTROL_NAME + gdesklets_pkg_postinst + + CONTROL_NAME="${DN}" + unset DESKLET_NAME + cd "${WORKDIR}/controls/${CONTROL_NAME}" + gdesklets_pkg_postinst + +} |