net-misc/icaclient: Minor ebuild improvements
authorLars Wendler <polynomial-c@gentoo.org>
Fri, 7 Dec 2018 13:08:09 +0000 (14:08 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Fri, 7 Dec 2018 13:08:23 +0000 (14:08 +0100)
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
net-misc/icaclient/icaclient-18.10.0.11.ebuild

index 8217b458a5594312e82f7bba9923c878a8fa0d76..b8118d5f9b1e7803c3ee9c457e05a61d96446b6f 100644 (file)
@@ -118,7 +118,7 @@ src_install() {
        for tmpl in {appsrv,wfclient}.template ; do
                newins nls/en/${tmpl} ${tmpl/template/ini}
        done
-       touch "${ED%/}/${ICAROOT}"/config/.server || die
+       touch "${ED}/${ICAROOT}"/config/.server || die
 
        insinto "${ICAROOT}"/gtk
        doins gtk/*
@@ -155,8 +155,8 @@ src_install() {
                dosym UTF-8 "${ICAROOT}"/nls/${lang}/utf8
 
                for tmpl in {appsrv,wfclient}.template ; do
-                       cp "${ED%/}/${ICAROOT}"/nls/${lang}/${tmpl} \
-                               "${ED%/}/${ICAROOT}"/nls/${lang}/${tmpl/template/ini} \
+                       cp "${ED}/${ICAROOT}"/nls/${lang}/${tmpl} \
+                               "${ED}/${ICAROOT}"/nls/${lang}/${tmpl/template/ini} \
                                || die
                done
        done
@@ -188,7 +188,7 @@ src_install() {
 
        dodir /etc/revdep-rebuild/
        echo "SEARCH_DIRS_MASK=\"${ICAROOT}\"" \
-               > "${ED%/}"/etc/revdep-rebuild/70icaclient
+               > "${ED}"/etc/revdep-rebuild/70icaclient
 
        # 651926
        domenu "${FILESDIR}"/wfica.desktop