#!/bin/sh

pkg install -y sqlite3
mkdir /calista
mkdir /calista/config
mkdir /calista/cache

cp -r ./* /calista/

cd /calista/

cd ./ccomp/
./build
cd ..

./reginit
./init_device_demon
./devices

#ccomp install ccomp
/usr/local/bin/ccomp install cpm
/usr/local/bin/ccomp install cgl

cd ./wm/x11/src
make
cd ../../..

#rm -rf ./ccomp
#rm ./reginit
#rm ./init_device_demon

pkg install -y firefox
