We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

comparison kde-misc/py-cashew/py-cashew-1.2.ebuild @ 45:e1ae18b48ffd

adding kde-misc/py-cashew-1.2; removing non-working kde-misc/py-cashew-1.1-r1
author Daniel Neugebauer <dneuge@energiequant.de>
date Sat, 28 Sep 2013 19:25:24 +0200
parents 30706ef7fc03
children
comparison
equal deleted inserted replaced
44:30706ef7fc03 45:e1ae18b48ffd
1 # Copyright 1999-2009 Gentoo Foundation 1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=5
3 5
4 DESCRIPTION="Plasmoid for KDE 4.6+ to remove the so-called Cashew (desktop configuration icon) - replacement for abandoned plasmoid \"I HATE the cashew\"." 6 DESCRIPTION="Plasmoid for KDE 4.6+ to remove the so-called Cashew (desktop configuration icon) - replacement for abandoned plasmoid \"I HATE the cashew\"."
5 HOMEPAGE="http://kde-look.org/content/show.php/Py-Cashew?content=147892" 7 HOMEPAGE="http://kde-look.org/content/show.php/Py-Cashew?content=147892"
6 8
7 LICENSE="GPL-3" 9 LICENSE="GPL-3"
8 SLOT="0" 10 SLOT="0"
9 KEYWORDS="~amd64 ~x86" 11 KEYWORDS="~amd64 ~x86"
10 IUSE="" 12 IUSE=""
11 13
12 inherit git-2 14 inherit git-2
15 #inherit kde4-base
13 16
14 EGIT_REPO_URI="https://github.com/benoit-monin/Py-Cashew.git" 17 EGIT_REPO_URI="https://github.com/benoit-monin/Py-Cashew.git"
15 EGIT_COMMIT="226e0352785f14323f787b65a3673abf4b8ce4f2" 18 EGIT_COMMIT="226e0352785f14323f787b65a3673abf4b8ce4f2"
16 19
17 #S=${WORKDIR}
18
19 #src_unpack() { 20 #src_unpack() {
20 # unpack ${A} 21 # cd ${WORKDIR}
22 # git clone ${EGIT_REPO_URI} py-cashew-1.2
23 # cd py-cashew-1.2
24 # git checkout -b TMP-ebuild ${EGIT_COMMIT}
25 # cd ..
21 #} 26 #}
22 27
23 #src_compile() { 28 #pkg_postinst() {
24 # m 29 # plasmapkg --packageroot /usr/share/apps/plasma/plasmoids -i py-cashew-1.2.plasmoid
25 # cd build
26 # cmake -DCMAKE_INSTALL_PREFIX=/usr .. || die "CMake failed!"
27 # emake || die "Make failed!"
28 #} 30 #}
29 31
30 src_install() { 32 src_install() {
31 #plasmapkg --global --packageroot ${WORKDIR}/usr/share/apps/plasma/plasmoids -i py-cashew-1.1.plasmoid 33 # we try to mimic plasmapkg which does not work in sandbox
32 plasmapkg --packageroot ${WORKDIR}/usr/share/apps/plasma/plasmoids -i py-cashew-1.1.plasmoid 34
35 insinto /usr/share/apps/plasma/plasmoids/py-cashew
36 doins metadata.desktop
37
38 # no idea where icons should go, nothing seems to fit PNGs...
39 #insinto /usr/share/apps/desktoptheme/default/icons/
40 #doins py-cashew.png
41
42 insinto /usr/share/apps/plasma/plasmoids/py-cashew/contents/code
43 doins contents/code/main.py
44
45 cp -a metadata.desktop plasma-applet-py-cashew.desktop
46 insinto /usr/share/kde4/services
47 doins plasma-applet-py-cashew.desktop
33 } 48 }