commit:     3960ea3f8783a22c40258ed64e13c2ff3b52e3b0
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  3 11:22:40 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Nov  3 12:37:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3960ea3f

net-misc/icaclient: Use array for files in util folder

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/icaclient/icaclient-20.9.0.15-r1.ebuild | 27 ++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

diff --git a/net-misc/icaclient/icaclient-20.9.0.15-r1.ebuild 
b/net-misc/icaclient/icaclient-20.9.0.15-r1.ebuild
index 00b8f64b936..844f39b2948 100644
--- a/net-misc/icaclient/icaclient-20.9.0.15-r1.ebuild
+++ b/net-misc/icaclient/icaclient-20.9.0.15-r1.ebuild
@@ -175,9 +175,32 @@ src_install() {
        rm -r "${S}"/keystore/cacerts || die
        dosym ../../../../etc/ssl/certs "${ICAROOT}"/keystore/cacerts
 
+       local util_files=(
+               configmgr
+               conncenter
+               ctx_app_bind
+               ctx_rehash
+               ctxwebhelper
+               gst_play1.0
+               gst_read1.0
+               hdxcheck.sh
+               icalicense.sh
+               libgstflatstm1.0.so
+               lurdump
+               new_store
+               nslaunch
+               pnabrowse
+               storebrowse
+               sunraymac.sh
+               webcontainer
+               what
+               xcapture
+       )
+
        exeinto "${ICAROOT}"/util
-       doexe 
util/{configmgr,conncenter,gst_play1.0,gst_read1.0,hdxcheck.sh,icalicense.sh,libgstflatstm1.0.so,webcontainer,ctxwebhelper,ctx_rehash,ctx_app_bind}
-       doexe 
util/{lurdump,new_store,nslaunch,pnabrowse,storebrowse,sunraymac.sh,what,xcapture}
+       for bin in ${util_files[@]} ; do
+               doexe util/${bin}
+       done
 
        # https://bugs.gentoo.org/655922
        dosym gst_play1.0 "${ICAROOT}"/util/gst_play

Reply via email to