blob: 1276d3f7ac2fdd0e7ce2ec6d59a3978e34150269 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kshutdown/kshutdown-2.0_beta6.ebuild,v 1.4 2009/11/18 22:34:19 fauli Exp $
EAPI="2"
KDE_LINGUAS="ar bg cs de el es fr hu it nb nl pl pt_BR ru sk sr sr@Latn sv tr zh_CN"
inherit kde4-base
MY_P="${PN}-source-${PV/_/}"
DESCRIPTION="A shutdown manager for KDE"
HOMEPAGE="http://kshutdown.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/$MY_P.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
DEPEND=">=kde-base/libkworkspace-${KDE_MINIMAL}"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/"${P/_/}"
src_prepare() {
# remove precompiled crap
rm -rf "${S}"/po/*.mo
# use our own cmake for locales
cp "${FILESDIR}"/CMakeLists.txt "${S}"/po/
kde4-base_src_prepare
}
|