Commits

clach04  committed d1dfaba Draft

opk support

  • Participants
  • Parent commits 0231586

Comments (0)

Files changed (1)

+#!/bin/sh
+
+OPK_NAME=battlepong.opk
+
+#FLIST="battlepong.dge battlepong.png snd/* img/* GPL  LICENSE  README"
+FLIST="battlepong.dge battlepong.png snd/ img/ GPL  LICENSE  README"
+FLIST="${FLIST} default.gcw0.desktop"
+#export FLIST
+
+echo FLIST ${FLIST}
+ls -l ${FLIST}
+
+cat > default.gcw0.desktop <<EOF
+[Desktop Entry]
+Name=Battle Pong
+Comment=Simple bat and ball game
+Exec=battlepong.dge
+Icon=battlepong
+Categories=games;
+Type=Application;
+EOF
+
+rm ${OPK_NAME}
+mksquashfs ${FLIST} ${OPK_NAME}
+7z l ${OPK_NAME}
+
+cat default.gcw0.desktop