Update rules

This commit is contained in:
ferrreo 2023-10-19 19:37:03 +01:00 committed by GitHub
parent 58ebcac41a
commit 4cfeeeb318
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
debian/rules vendored
View File

@ -2,5 +2,22 @@
export DH_VERBOSE = 1 export DH_VERBOSE = 1
override_dh_auto_build:
cd hyprland-share-picker && make all && cd ..
## overriding dh_clean to make it not delete rust vendor files:
#override_dh_clean:
# echo "disabled"
## overriding dh_auto_configure to add custom configs:
#override_dh_auto_configure:
# $(srcdir)/configure -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBUILD_PLUGIN=OFF
## overriding dh_install to install files to a package:
override_dh_install:
install -d $(pkgdir)/usr/bin
cp $(srcdir)/hyprland-share-picker/build/hyprland-share-picker $(pkgdir)/usr/bin/hyprland-share-picker
rm -Rf $(pkgdir)/usr/share/hyprland-protocols
rm -f $(pkgdir)/usr/share/pkgconfig/hyprland-protocols.pc
%: %:
dh $@ dh $@