chore(build): added Debian
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
19
build-aux/debian/rules
Executable file
19
build-aux/debian/rules
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export PYBUILD_NAME=portprotonqt
|
||||
export PYBUILD_SYSTEM=pyproject
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild --plugin=pyproject
|
||||
|
||||
override_dh_auto_build:
|
||||
# Ensure we run the build in the correct directory context
|
||||
dh_auto_build --buildsystem=pybuild --plugin=pyproject
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install --buildsystem=pybuild --plugin=pyproject
|
||||
# Copy additional assets to the correct package directory
|
||||
install -d debian/portprotonqt/usr/share
|
||||
install -d debian/portprotonqt/usr/lib
|
||||
cp -r build-aux/share/* debian/portprotonqt/usr/share/
|
||||
cp -r build-aux/lib/* debian/portprotonqt/usr/lib/
|
||||
Reference in New Issue
Block a user