Lines 18-20
Link Here
|
18 |
RDEPEND="${DEPEND}" |
18 |
RDEPEND="${DEPEND}" |
19 |
|
19 |
|
20 |
need-kde 3.3 |
20 |
need-kde 3.3 |
|
|
21 |
|
22 |
src_install() { |
23 |
kde_src_install |
24 |
|
25 |
local dir="/usr/share/services/kontact" |
26 |
|
27 |
# http://basket.kde.org/news.php#the-2008-02-28 |
28 |
insinto ${dir} |
29 |
# 6 and 7 work for up to 3.5.10 |
30 |
for version in 6 7; do |
31 |
einfo "Creating additional Kontact plug-in file for version ${version}" |
32 |
newins kontact_plugin/basket.desktop basket_v${version}.desktop |
33 |
dosed "s:^X-KDE-KontactPluginVersion=5:X-KDE-KontactPluginVersion=${version}:" \ |
34 |
"${dir}/basket_v${version}.desktop" |
35 |
done |
36 |
} |