blob: d6b5baa63d5303863d54284f27504ca682030042 (
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
60
61
62
63
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit kde4-base
DESCRIPTION="KDE 4 Archiving/Backup"
HOMEPAGE="http://www.kde-apps.org/content/show.php/Krsync?content=68586"
SRC_URI="http://www.kde-apps.org/CONTENT/content-files/68586-${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
LANGS="de it"
for X in ${LANGS};do
IUSE="${IUSE} linguas_${X}"
done
RDEPEND="
net-misc/rsync
>=kde-base/kommander-${KDE_MINIMAL}
"
src_prepare() {
# fix desktop files
sed -i "s:kmdr-executor:kommander:" kde4/*.desktop ||
die "binary name fix (sed) failed"
}
src_configure() {
: # no configuration required
}
src_compile() {
: # no compilation required
}
src_install() {
insinto "${KDEDIR}"/bin
doins src/*.kmdr || die "*.kmdr install failed"
for LANG in ${LINGUAS};
do
if has ${LANG} ${LANGS}; then
insinto "${KDEDIR}"/share/locale/${LANG}/LC_MESSAGES
doins po/${LANG}/*.mo
fi
done
for i in `ls icons/`
do
insinto "${KDEDIR}"/share/icons/default.kde4/"${i}"/apps
doins icons/"${i}"/*.png || die "${i} icons installation failed"
done
insinto "${KDEDIR}"/share/applications/kde4
doins kde4/krsync.desktop || die "desktop file installation failed"
doins kde4/krsync-root.desktop || "root desktop file installation failed"
}
|