Skip to content

Commit

Permalink
Fix up Debian installation for v0.3-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
rrooij committed Jun 3, 2017
1 parent 6fd7ce1 commit 5bcf2b1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
VERSION=0.4
PACKAGE_NAME=python3-sd3save-editor_$(VERSION)_all

.PHONY: package_deb
package_deb:
fpm -s python -d python3-pyqt5 --python-bin=python3 -t deb setup.py
fpm -s python -d python3-pyqt5 --python-bin=python3 --python-package-name-prefix python3 -t deb setup.py
mkdir tmp_extracted
dpkg-deb -R $(PACKAGE_NAME).deb tmp_extracted
mkdir -p tmp_extracted/usr/share/applications
cp sd3save_editor.desktop tmp_extracted/usr/share/applications/
dpkg-deb -b tmp_extracted $(PACKAGE_NAME).deb
rm -rf tmp_extracted

clean:
$(RM) *.deb
7 changes: 7 additions & 0 deletions sd3save_editor.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Name=SD3 Save Editor
Categories=Game
Comment=A Seiken Densetsu 3 save editor
Exec=sd3save_editor_gui
Terminal=false
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
author='rrooij',
author_email='[email protected]',
url='https://github.com/rrooij/sd3save_editor',
version='0.3',
version='0.4',
license="GPL-3.0",
description='Seiken Densetsu 3 Save Editor',
packages=find_packages(),
Expand Down

0 comments on commit 5bcf2b1

Please sign in to comment.