| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kdirstat/kdirstat-2.7.3.ebuild,v 1.3 2012/09/24 11:43:57 ago Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
KDE_LINGUAS="de fr hu it ja"
|
| 8 |
inherit kde4-base
|
| 9 |
|
| 10 |
DESCRIPTION="Nice KDE replacement to the du command"
|
| 11 |
HOMEPAGE="https://bitbucket.org/jeromerobert/k4dirstat/"
|
| 12 |
SRC_URI="${HOMEPAGE}get/k4dirstat-${PV}.tar.bz2"
|
| 13 |
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
SLOT="4"
|
| 16 |
KEYWORDS="amd64 x86"
|
| 17 |
IUSE="debug"
|
| 18 |
|
| 19 |
RDEPEND="kde-base/libkonq:4
|
| 20 |
sys-libs/zlib"
|
| 21 |
DEPEND="${RDEPEND}"
|
| 22 |
|
| 23 |
DOCS=( AUTHORS CREDITS TODO )
|
| 24 |
|
| 25 |
src_unpack() {
|
| 26 |
# tarball contains git revision hash, which we don't want in the ebuild.
|
| 27 |
default
|
| 28 |
mv "${WORKDIR}"/*k4dirstat-* "${S}" || die
|
| 29 |
}
|
| 30 |
|
| 31 |
src_prepare() {
|
| 32 |
sed -e "s/Utility/Utility;/" \
|
| 33 |
-i src/k4dirstat.desktop || die "fixing .desktop file failed"
|
| 34 |
|
| 35 |
kde4-base_src_prepare
|
| 36 |
}
|