Add initial Debian packaging
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Standard Debian build
|
||||
%:
|
||||
dh $@
|
||||
|
||||
# No build via Makefile
|
||||
override_dh_auto_build:
|
||||
|
||||
# Generate translation and install generated files
|
||||
override_dh_install:
|
||||
mkdir -p debian/yms/usr/share/locale/de/LC_MESSAGES
|
||||
msgfmt locale/de.po -o debian/yms/usr/share/locale/de/LC_MESSAGES/ymsgui.mo
|
||||
install -D -m 0644 icons/yms.svg debian/yms/usr/share/icons/hicolor/scalable/apps/yms.svg
|
||||
install -D -m 0644 icons/yms48.png debian/yms/usr/share/icons/hicolor/48x48/apps/yms.png
|
||||
install -D -m 0644 icons/yms64.png debian/yms/usr/share/icons/hicolor/64x64/apps/yms.png
|
||||
install -D -m 0755 debian/yms-launcher debian/yms/usr/bin/yms
|
||||
dh_install
|
||||
|
||||
# Installation is handled by debian/install
|
||||
override_dh_auto_install:
|
||||
|
||||
override_dh_installdebconf:
|
||||
dh_installdebconf
|
||||
Reference in New Issue
Block a user