mkdir -p "${INSTALL_ROOT}/usr/lib/${SPELL}"                             &&

cp -rv "${SOURCE_DIRECTORY}" "${INSTALL_ROOT}/usr/lib/${SPELL}"         &&

cat << EOF > "${INSTALL_ROOT}/usr/bin/${SPELL}"                         &&
#!/bin/sh
cd /usr/lib/spe/_spe
exec python SPE.py "\$@"
EOF

chmod 755 "${INSTALL_ROOT}/usr/bin/${SPELL}"
