diff --git a/.gitignore b/.gitignore index 9257ebb..b8cdcda 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ src/cpp data/levels/*.png +deb/opt \ No newline at end of file diff --git a/deb/DEBIAN/control b/deb/DEBIAN/control new file mode 100644 index 0000000..d54c196 --- /dev/null +++ b/deb/DEBIAN/control @@ -0,0 +1,11 @@ +Package: spheres +Priority: optional +Version: 2.0.0 +Architecture: all +Maintainer: Victor David Santos +Installed-Size: 4524 +Depends: build-essential, libsdl2-dev, libgl1-mesa-dev, libopenal-dev, libsndfile-dev, libmpg123-dev, libgmp-dev, libfontconfig1-dev, ruby, ruby-dev +Homepage: https://github.com/victords/spheres +Section: games +Description: Spheres + Spheres is a match-3 game with 3 different game modes. diff --git a/deb/DEBIAN/postinst b/deb/DEBIAN/postinst new file mode 100755 index 0000000..d1bdbd2 --- /dev/null +++ b/deb/DEBIAN/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +set -e +gem install minigl -v 2.4.0 --conservative +exit 0 diff --git a/deb/usr/share/applications/spheres.desktop b/deb/usr/share/applications/spheres.desktop new file mode 100644 index 0000000..0db39ea --- /dev/null +++ b/deb/usr/share/applications/spheres.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Spheres +GenericName=Puzzle Game +Comment=Play a match-3 game +Icon=spheres +Exec=ruby /opt/vds-games/spheres/src/main.rb +Terminal=false +StartupNotify=false +Categories=Game;LogicGame +Name[en_US]=Spheres diff --git a/deb/usr/share/icons/hicolor/16x16/apps/spheres.png b/deb/usr/share/icons/hicolor/16x16/apps/spheres.png new file mode 100644 index 0000000..9f12ffd Binary files /dev/null and b/deb/usr/share/icons/hicolor/16x16/apps/spheres.png differ diff --git a/deb/usr/share/icons/hicolor/22x22/apps/spheres.png b/deb/usr/share/icons/hicolor/22x22/apps/spheres.png new file mode 100644 index 0000000..cbae39a Binary files /dev/null and b/deb/usr/share/icons/hicolor/22x22/apps/spheres.png differ diff --git a/deb/usr/share/icons/hicolor/24x24/apps/spheres.png b/deb/usr/share/icons/hicolor/24x24/apps/spheres.png new file mode 100644 index 0000000..bf6621d Binary files /dev/null and b/deb/usr/share/icons/hicolor/24x24/apps/spheres.png differ diff --git a/deb/usr/share/icons/hicolor/32x32/apps/spheres.png b/deb/usr/share/icons/hicolor/32x32/apps/spheres.png new file mode 100644 index 0000000..acf5837 Binary files /dev/null and b/deb/usr/share/icons/hicolor/32x32/apps/spheres.png differ diff --git a/deb/usr/share/icons/hicolor/48x48/apps/spheres.png b/deb/usr/share/icons/hicolor/48x48/apps/spheres.png new file mode 100644 index 0000000..794cd86 Binary files /dev/null and b/deb/usr/share/icons/hicolor/48x48/apps/spheres.png differ diff --git a/deb/usr/share/icons/hicolor/64x64/apps/spheres.png b/deb/usr/share/icons/hicolor/64x64/apps/spheres.png new file mode 100644 index 0000000..7562cf5 Binary files /dev/null and b/deb/usr/share/icons/hicolor/64x64/apps/spheres.png differ diff --git a/package.sh b/package.sh new file mode 100755 index 0000000..9b5541e --- /dev/null +++ b/package.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cp -r src deb/opt/vds-games/spheres/ +cp -r data deb/opt/vds-games/spheres/ +dpkg -b deb spheres-2.0.0.deb diff --git a/screenshot/basic.png b/screenshot/basic.png new file mode 100644 index 0000000..a8b8833 Binary files /dev/null and b/screenshot/basic.png differ diff --git a/screenshot/dynamic.png b/screenshot/dynamic.png new file mode 100644 index 0000000..e67cffb Binary files /dev/null and b/screenshot/dynamic.png differ diff --git a/screenshot/static.png b/screenshot/static.png new file mode 100644 index 0000000..4254069 Binary files /dev/null and b/screenshot/static.png differ diff --git a/spheres-2.0.0.deb b/spheres-2.0.0.deb new file mode 100644 index 0000000..742f12b Binary files /dev/null and b/spheres-2.0.0.deb differ