mirror of
https://github.com/naruxde/revpicommander.git
synced 2025-11-08 16:43:53 +01:00
packaging: Use patched entry point and link it to /usr/bin
By renaming the entry point, which had the same name as the module, both can now be installed in the same directory. The entry point can then be created in /usr/bin as a link with the original name 'revpicommander'. Signed-off-by: Sven Sager <akira@narux.de>
This commit is contained in:
1
debian/install
vendored
1
debian/install
vendored
@@ -1,3 +1,2 @@
|
||||
data/revpicommander /usr/bin
|
||||
data/revpicommander.desktop /usr/share/applications
|
||||
data/revpicommander.png /usr/share/icons/hicolor/128x128/apps
|
||||
|
||||
1
debian/links
vendored
Normal file
1
debian/links
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/usr/share/revpicommander/revpicommander_entry_point /usr/bin/revpicommander
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@@ -3,7 +3,7 @@
|
||||
export PYBUILD_NAME=revpicommander
|
||||
|
||||
# Install this module as an application an not into the python standard library path
|
||||
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/revpicommander/ --install-scripts=/usr/share/revpicommander/bin/
|
||||
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/revpicommander/ --install-scripts=/usr/share/revpicommander/
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
Reference in New Issue
Block a user