From: Justin <justin@j-schmitz.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] android-notifier
Date: Mon, 18 Oct 2010 19:31:29 +0200 [thread overview]
Message-ID: <4CBC8471.3030709@j-schmitz.net> (raw)
In-Reply-To: <4CBC7E86.9080302@xunil.at>
[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]
On 18/10/10 19:06, Stefan G. Weichinger wrote:
> # Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/sys-fs/zfs-fuse/zfs-fuse-0.6.9-r1.ebuild,v 1.2
2010/06/23 08:56:57 ssuominen Exp $
EAPI="2"
inherit eutils multilib
DESCRIPTION="Desktop event notifier for Android devices"
HOMEPAGE="http://code.google.com/p/android-notifier/"
SRC_URI="amd64? (
http://android-notifier.googlecode.com/files/${PN}-desktop-${PV}-linux-amd64.zip
)
x86? (
http://android-notifier.googlecode.com/files/${PN}-desktop-${PV}-linux-i386.zip
)"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND="${RDEPEND}"
You can leave this away when empty.
get_home() {
echo "/usr/share/android-notifier-desktop"
}
Unnecessary.
src_install() {
dodir "$(get_home)" || die "mkdir failed"
Not needed, it is included in insinto()
insinto "$(get_home)"
cp -R ${WORKDIR}/android-notifier-desktop/* "$D/$(get_home)" || die
use doins() instead
make_wrapper android-notifier ./run.sh "$(get_home)"
doicon "$D/$(get_home)"/icons/$PN-desktop.png \
|| die "newicon failed"
make_desktop_entry android-notifier "AndroidNotifier" \
/usr/share/pixmaps/${PN}-desktop.png "Utility" || die
"make_desktop_entry failed"
}
Indent your code.
justin
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2010-10-18 17:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-18 17:06 [gentoo-user] android-notifier Stefan G. Weichinger
2010-10-18 17:31 ` Justin [this message]
2010-10-18 19:53 ` Stefan G. Weichinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CBC8471.3030709@j-schmitz.net \
--to=justin@j-schmitz.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox