Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] android-notifier
Date: Mon, 18 Oct 2010 19:54:40
Message-Id: 4CBCA5A3.8000104@xunil.at
In Reply to: Re: [gentoo-user] android-notifier by Justin
1 Am 18.10.2010 19:31, schrieb Justin:
2 > RDEPEND=""
3 > DEPEND="${RDEPEND}"
4 >
5 > You can leave this away when empty.
6
7 yes, sure, but I want to point out that it should not be empty ...
8
9 > get_home() {
10 > echo "/usr/share/android-notifier-desktop"
11 > }
12 >
13 > Unnecessary.
14 >
15 > src_install() {
16 > dodir "$(get_home)" || die "mkdir failed"
17 > Not needed, it is included in insinto()
18 > insinto "$(get_home)"
19 > cp -R ${WORKDIR}/android-notifier-desktop/* "$D/$(get_home)" || die
20 > use doins() instead
21 >
22 > make_wrapper android-notifier ./run.sh "$(get_home)"
23 >
24 > doicon "$D/$(get_home)"/icons/$PN-desktop.png \
25 > || die "newicon failed"
26 >
27 > make_desktop_entry android-notifier "AndroidNotifier" \
28 > /usr/share/pixmaps/${PN}-desktop.png "Utility" || die
29 > "make_desktop_entry failed"
30 > }
31 >
32 > Indent your code.
33
34
35 Thanks for your help, see my current draft at bugzilla.
36 They point me at sunrise-overlay, will see how to do that ...
37
38 Stefan