1 # Maintainer: Edward Tjörnhammar <xhemi@cube2.se>
2 # Contributor: Edward Tjörnhammar <xhemi@cube2.se>
6 pkgdesc="Oracle Calendar Client from Oracle Colaboration Suite."
8 url="http://www.oracle.com/technology/products/ocal/index.html"
9 source="http://download.oracle.com/otn/nt/ocs_clients/1012/cal_linux_1012.tar.gz"
10 license=('OTN License Agreement')
11 depends=('libstdc++5')
12 md5sums=('4c7e7f913dec93e4673a50024d30feb3')
16 _S=$startdir/src/OracleCalendar_inst
17 _R=/opt/OracleCalendar
20 cp cal_linux cal_linux.bak
21 cat cal_linux.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > cal_linux
22 echo "USER_INSTALL_DIR=$_DR" > ocal_conf/silent.properties
23 echo "USER_SHORTCUTS=$_D/usr/bin" >> ocal_conf/silent.properties
24 echo "INSTALLER_UI=silent" >> ocal_conf/silent.properties
26 sed -i -e "s#^OCALENDAR_ROOT=/.*#OCALENDAR_ROOT=$_R#g" $_DR/bin/ocal
28 ln -s $_R/bin/ocal $_D/usr/bin/ocal