mkdir -p /opt/kdepimpi
mkdir -p /usr/share/applnk/PIM-pi
cp -r bin/* /opt/kdepimpi/
cp --no-dereference bin/libmicro* /usr/lib/
rm -rf /opt/kdepimpi/libmicro*
rm -rf /usr/lib/libmicrokabc_*
cp --no-dereference bin/libmicrokabc_* /opt/kdepimpi/
cp -r desktop/PIM-pi/* /usr/share/applnk/PIM-pi/
cd /opt/kdepimpi; rm -dfR CVS
cd /opt/kdepimpi/kdepim; rm -dfR CVS
cd /opt/kdepimpi/kdepim/pwmanager; rm -dfR CVS
cd /opt/kdepimpi/kdepim/pwmanager/icons22; rm -dfR CVS
cd /opt/kdepimpi/kdepim/pwmanager/icons16; rm -dfR CVS
cd /opt/kdepimpi/kdepim/korganizer; rm -dfR CVS
cd /opt/kdepimpi/kdepim/korganizer/icons16; rm -dfR CVS
cd /opt/kdepimpi/kdepim/korganizer/iconsmini; rm -dfR CVS
cd /opt/kdepimpi/kdepim/korganizer/icons16; rm -dfR .xvpics
cd /opt/kdepimpi/kdepim/korganizer/iconsmini; rm -dfR .xvpics
cd /opt/kdepimpi/kdepim/korganizer; rm -dfR .xvpics
cd /opt/kdepimpi/kdepim/kaddressbook; rm -dfR CVS
cd /opt/kdepimpi/kdepim/kaddressbook/icons22; rm -dfR CVS
cd /opt/kdepimpi/kdepim/kaddressbook/icons16; rm -dfR CVS
cd /opt/kdepimpi/kdepim/kopiemail/icons22; rm -dfR CVS
cd /opt/kdepimpi/kdepim/kopiemail; rm -dfR CVS
cd /opt/kdepimpi/kdepim; rm -f Make*
cd /usr/share/applnk/PIM-pi; rm -fr CVS

#for i in {kapi,kopi,kammu,ompi,pwmpi}
#do
#    ln -sfn  /opt/kdepimpi/"$i" /usr/bin/
#done
