blob: 2f058aaff20600ec2b44d7e7eb8c55011dd9497e (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/krename/krename-3.0.14-r1.ebuild,v 1.1 2009/05/26 09:42:12 scarabeus Exp $
EAPI="1"
inherit kde
# version does not change with every release
DOC="krename-3.0.12.pdf"
DESCRIPTION="KRename - a very powerful batch file renamer."
HOMEPAGE="http://www.krename.net/"
SRC_URI="mirror://sourceforge/krename/${P}.tar.bz2
doc? ( mirror://sourceforge/krename/${DOC} )"
SLOT="3.5"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc"
RDEPEND="!${CATEGORY}/${PN}:0"
need-kde 3.5
LANGS="bs de es fr hu it ja nl pl pt_BR ru sl sv tr zh_CN zh_TW"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
PATCHES=( "${FILESDIR}/krename-3.0.14-desktop-entry-diff" )
src_unpack() {
kde_src_unpack
cd "${WORKDIR}/${P}/po"
for X in ${LANGS} ; do
use linguas_${X} || rm -f "${X}."*
done
rm -f "${S}/configure"
}
src_install() {
kde_src_install
if use doc; then
insinto /usr/share/doc/${PF}
doins "${DISTDIR}"/${DOC}
fi
}
pkg_postinst() {
kde_pkg_postinst
elog "Please note that KRename can use KDE's file information plugins as they're"
elog "available, so you might want to install one or more of the following ebuilds:"
elog "kdeaddons-kfile-plugins, kdeadmin-kfile-plugins, kdegraphics-kfile-plugins,"
elog "kdemultimedia-kfile-plugins, kdenetwork-kfile-plugins, kdesdk-kfile-plugins."
}
|