pakur.sh 933 B

1234567891011121314151617181920
  1. find src -name '*.hpp' -exec install -Dm0644 {} "$PKG/usr/include/hyprland/{}" \;
  2. pushd subprojects/wlroots/include
  3. find . -name '*.h' -exec install -Dm0644 {} "$PKG/usr/include/hyprland/wlroots/{}" \;
  4. popd
  5. pushd subprojects/wlroots/build/include
  6. find . -name '*.h' -exec install -Dm0644 {} "$PKG/usr/include/hyprland/wlroots/{}" \;
  7. popd
  8. mkdir -p "$PKG/usr/include/hyprland/protocols"
  9. cp protocols/*-protocol.h "$PKG/usr/include/hyprland/protocols"
  10. pushd build
  11. cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  12. popd
  13. install -Dm0644 -t "$PKG/usr/share/pkgconfig" build/hyprland.pc
  14. install -Dm0755 -t "$PKG/usr/bin" build/Hyprland
  15. install -Dm0755 -t "$PKG/usr/bin" hyprctl/hyprctl
  16. install -Dm0644 -t "$PKG/usr/share/$isim" assets/*.png
  17. install -Dm0644 -t "$PKG/usr/share/wayland-sessions" "example/$isim.desktop"
  18. install -Dm0644 -t "$PKG/usr/share/$isim" "example/$isim.conf"
  19. install -Dm0755 -t "$PKG/usr/lib" "$SRC/tmpwlr/lib/libwlroots.so.12032"