Skip to content

Commit

Permalink
Debian package.
Browse files Browse the repository at this point in the history
  • Loading branch information
victords committed Apr 14, 2022
1 parent 2cac8fa commit 130b0bb
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
src/cpp
data/levels/*.png
deb/opt
11 changes: 11 additions & 0 deletions deb/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Package: spheres
Priority: optional
Version: 2.0.0
Architecture: all
Maintainer: Victor David Santos <[email protected]>
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.
4 changes: 4 additions & 0 deletions deb/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
set -e
gem install minigl -v 2.4.0 --conservative
exit 0
12 changes: 12 additions & 0 deletions deb/usr/share/applications/spheres.desktop
Original file line number Diff line number Diff line change
@@ -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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
@@ -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
Binary file added screenshot/basic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshot/dynamic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshot/static.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spheres-2.0.0.deb
Binary file not shown.

0 comments on commit 130b0bb

Please sign in to comment.