Fix perms on hyprland.pc

This commit is contained in:
alan (NyxTrail) 2024-02-04 07:53:54 +00:00
parent ce14c3bd3e
commit de03d7ba57
No known key found for this signature in database
GPG Key ID: 32C5D29762C48D4A
2 changed files with 3 additions and 8 deletions

View File

@ -1,8 +0,0 @@
hyprland for Debian
Please edit this to provide information specific to
this hyprland Debian package.
(Automatically generated by debmake Version 4.4.0)
-- Alan M Varghese (NyxTrail) <alan@digistorm.in> Sun, 21 Jan 2024 19:39:47 +0000

3
rules
View File

@ -14,6 +14,9 @@ override_dh_makeshlibs:
:
override_dh_auto_install:
chrpath -r /usr/lib/hyprland build/Hyprland
# Fix permission on hyprland.pc (Hyprland sets 777 on everything in
# build/ directory)
chmod 644 build/hyprland.pc
# dh_auto_install auto detects the correct DESTDIR.
# Modify PREFIX so that this DESTDIR is actually taken into account.
# (Upstream Makefile supports PREFIX, but not DESTDIR)