summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/knutclient/knutclient-0.9.3.ebuild')
-rw-r--r--net-misc/knutclient/knutclient-0.9.3.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/net-misc/knutclient/knutclient-0.9.3.ebuild b/net-misc/knutclient/knutclient-0.9.3.ebuild
index 3be5359deddd..284764c5b485 100644
--- a/net-misc/knutclient/knutclient-0.9.3.ebuild
+++ b/net-misc/knutclient/knutclient-0.9.3.ebuild
@@ -1,15 +1,14 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/knutclient/knutclient-0.9.3.ebuild,v 1.8 2007/07/28 09:18:56 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/knutclient/knutclient-0.9.3.ebuild,v 1.9 2008/02/19 12:04:08 ingmar Exp $
inherit kde
MY_P=${P/_/-}
-S=${WORKDIR}/${MY_P}
DESCRIPTION="Client for the NUT UPS monitoring daemon"
HOMEPAGE="http://www.knut.noveradsl.cz/knutclient/"
-SRC_URI="ftp://ftp.buzuluk.cz/pub/alo/knutclient/stable/${MY_P}.tar.gz"
+SRC_URI="ftp://ftp.buzuluk.cz/pub/alo/${PN}/stable/${MY_P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
@@ -18,10 +17,14 @@ IUSE=""
need-kde 3.5
-PATCHES="${FILESDIR}/knutclient-0.9.3-xdg_desktop_entry.diff"
+PATCHES="${FILESDIR}/${P}-xdg_desktop_entry.diff"
+
+S="${WORKDIR}"/${MY_P}
src_unpack(){
kde_src_unpack
# assure we pick up the patch
- rm ${S}/configure
+ rm "${S}"/configure
+
+ sed -e 's/.png//' -i "${S}"/src/${PN}.desktop || die 'Sed failed'
}