1 # Maintainer: Whitney Marshall <whitney.marshall@gmail.com>
6 pkgdesc="Citrix Receiver for Linux (ICAClient)"
8 url="http://www.citrix.com/English/ps2/products/product.asp?contentID=1689163&ntref=prod_top"
9 license=('custom:Citrix')
11 depends=('lib32-alsa-lib' 'lib32-gtk2')
20 install=$pkgname.install
22 source=(linuxx86-$pkgver.tar::'http://www.citrix.com/English/SS/downloads/EULA_p.asp?downloadID=2316611&versionID=2316622&productID=1689163')
24 md5sums=('d99029de72f8bb6ada8297d16f39ad90')
27 ICAROOT=/opt/Citrix/ICAClient
28 install --directory --owner=root --group=sys --mode=555 \
29 "$pkgdir$ICAROOT"{,/lib,/util,/keystore,/keystore/cacerts,/config/usertemplate,/keyboard,/help,/icons,/nls,/gtk,/gtk/glade,/nls/{en,de,ja}/{LC_MESSAGES,UTF-8}}
31 cd "$srcdir/linuxx86/linuxx86.cor"
32 install --owner=root --group=sys --mode=555 \
39 install --owner=root --group=sys --mode=555 \
43 util/gst_{read,play}.{32,64} \
50 "$pkgdir$ICAROOT/util"
51 install --owner=root --group=sys --mode=444 \
53 "$pkgdir$ICAROOT/util"
54 install --owner=root --group=sys --mode=444 \
55 keystore/cacerts/*.crt \
56 "$pkgdir$ICAROOT/keystore"
57 install --owner=root --group=sys --mode=444 \
59 "$pkgdir$ICAROOT/config"
60 install --owner=root --group=sys --mode=444 \
61 config/usertemplate/*.ini \
62 "$pkgdir$ICAROOT/config/usertemplate"
63 install --owner=root --group=sys --mode=444 \
64 keyboard/*.ini keyboard/*.kbd \
65 "$pkgdir$ICAROOT/keyboard"
66 install --owner=root --group=sys --mode=444 \
67 icons/*.png icons/session.xpm \
68 "$pkgdir$ICAROOT/icons"
69 install --owner=root --group=sys --mode=444 \
72 install --owner=root --group=sys --mode=444 \
74 "$pkgdir$ICAROOT/gtk/glade"
75 install --owner=root --group=sys --mode=444 \
78 for locale in de en ja; do
79 install --owner=root --group=sys --mode=444 \
80 nls/$locale/{*.{ini,txt,htm,ad,nls},Wfcmgr} \
81 "$pkgdir$ICAROOT/nls/$locale"
82 install --owner=root --group=sys --mode=444 \
83 nls/$locale/LC_MESSAGES/*.mo \
84 "$pkgdir$ICAROOT/nls/$locale/LC_MESSAGES"
85 install --owner=root --group=sys --mode=444 \
86 nls/$locale/UTF-8/{*.{txt,ad,nls},Wfcmgr} \
87 "$pkgdir$ICAROOT/nls/$locale/UTF-8"
92 for locale in de en ja; do
93 ln -s Npica.ad nls/$locale/Npica
94 ln -s UTF-8 nls/$locale/utf8
95 ln -s XCapture.ad nls/$locale/UTF-8/XCapture
96 ln -s XCapture.ad nls/$locale/XCapture
103 \$ICAROOT/wfica -file \$1
107 install --owner=root --group=sys --mode=444 -D \
109 "$pkgdir/usr/share/licenses/$pkgname/eula.txt"
112 # vim:set ts=2 sw=2 et: