2024-11-17 12:57:30 +01:00
|
|
|
#! /usr/bin/make -f
|
|
|
|
|
|
|
|
## See debhelper(7) (uncomment to enable).
|
|
|
|
## Output every command that modifies files on the build system.
|
|
|
|
export DH_VERBOSE = 1
|
|
|
|
|
|
|
|
## overriding dh_auto_configure to add custom configs:
|
2024-11-17 13:30:48 +01:00
|
|
|
override_dh_auto_configure:
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_QML_PREFIX="/usr/share/lib/quickshell" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDISTRIBUTOR_DEBUGINFO_AVAILABLE=YES -DDISTRIBUTOR="PikaOS" -DCRASH_REPORTER=OFF -DCMAKE_LIBRARY_PATH=/usr/lib/ x86_64-linux-gnu -B build
|
|
|
|
cmake --build build --config Release
|
2024-11-17 12:57:30 +01:00
|
|
|
|
2024-11-17 13:30:48 +01:00
|
|
|
override_dh_install:
|
|
|
|
DESTDIR=debian/tmp cmake --install build
|
|
|
|
dh_install
|
2024-11-17 12:57:30 +01:00
|
|
|
## === End end of region ===
|
|
|
|
|
|
|
|
## This here will start the build:
|
|
|
|
%:
|
2024-11-17 13:30:48 +01:00
|
|
|
dh $@
|