4 pkgdesc="Novell Groupwise 8 Client for Linux"
5 url="http://gwclient.provo.novell.com/"
9 depends=('glibc' 'libstdc++5' 'gcc' 'unzip' 'rpmextract' 'jre')
12 depends=('glibc' 'libstdc++5' 'gcc' 'unzip' 'rpmextract' 'bin32-jre')
15 srcname="gw802hp2linuxclient.zip"
16 source=(http://gwclient.provo.novell.com/client/$srcname)
22 unzip -o $srcname "*client*"
24 rpmextract.sh $startdir/src/novell-groupwise-client-8.0.2-92614.i586.rpm
25 chmod +rx opt usr usr/share
26 rm -rf opt/novell/groupwise/client/jre
27 sed -i 's%opt/novell/groupwise/client/jre%${JAVA_HOME}/jre%' "$startdir"/pkg/opt/novell/groupwise/client/bin/groupwise
30 sed -i '/LD_LIBRARY_PATH/s/:.*/:\/opt\/java\/jre\/lib\/i386:\/opt\/java\/jre\/lib\/i386\/client/' $pkgdir/opt/novell/groupwise/client/bin/groupwise
33 sed -i '/LD_LIBRARY_PATH/s/:.*/:\/opt\/bin32-jre\/jre\/lib\/i386:\/opt\/bin32-jre\/jre\/lib\/i386\/client/' $pkgdir/opt/novell/groupwise/client/bin/groupwise
37 md5sums=('ea29a56d4332a89686bef025872ad9c0')