From: | Justin <justin@×××××××××.net> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] android-notifier | ||
Date: | Mon, 18 Oct 2010 17:32:24 | ||
Message-Id: | 4CBC8471.3030709@j-schmitz.net | ||
In Reply to: | [gentoo-user] android-notifier by "Stefan G. Weichinger" |
1 | On 18/10/10 19:06, Stefan G. Weichinger wrote: |
2 | > # Copyright 1999-2010 Gentoo Foundation |
3 | # Distributed under the terms of the GNU General Public License v2 |
4 | # $Header: |
5 | /var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/zfs-fuse-0.6.9-r1.ebuild,v 1.2 |
6 | 2010/06/23 08:56:57 ssuominen Exp $ |
7 | |
8 | EAPI="2" |
9 | inherit eutils multilib |
10 | |
11 | DESCRIPTION="Desktop event notifier for Android devices" |
12 | HOMEPAGE="http://code.google.com/p/android-notifier/" |
13 | SRC_URI="amd64? ( |
14 | http://android-notifier.googlecode.com/files/${PN}-desktop-${PV}-linux-amd64.zip |
15 | ) |
16 | x86? ( |
17 | http://android-notifier.googlecode.com/files/${PN}-desktop-${PV}-linux-i386.zip |
18 | )" |
19 | |
20 | LICENSE="GPL-3" |
21 | SLOT="0" |
22 | KEYWORDS="~amd64 ~x86" |
23 | IUSE="" |
24 | |
25 | RDEPEND="" |
26 | DEPEND="${RDEPEND}" |
27 | |
28 | You can leave this away when empty. |
29 | |
30 | get_home() { |
31 | echo "/usr/share/android-notifier-desktop" |
32 | } |
33 | |
34 | Unnecessary. |
35 | |
36 | src_install() { |
37 | dodir "$(get_home)" || die "mkdir failed" |
38 | Not needed, it is included in insinto() |
39 | insinto "$(get_home)" |
40 | cp -R ${WORKDIR}/android-notifier-desktop/* "$D/$(get_home)" || die |
41 | use doins() instead |
42 | |
43 | make_wrapper android-notifier ./run.sh "$(get_home)" |
44 | |
45 | doicon "$D/$(get_home)"/icons/$PN-desktop.png \ |
46 | || die "newicon failed" |
47 | |
48 | make_desktop_entry android-notifier "AndroidNotifier" \ |
49 | /usr/share/pixmaps/${PN}-desktop.png "Utility" || die |
50 | "make_desktop_entry failed" |
51 | } |
52 | |
53 | Indent your code. |
54 | |
55 | justin |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-user] android-notifier | "Stefan G. Weichinger" <lists@×××××.at> |