Skip to content

Commit

Permalink
Cleanup hyprland post_install
Browse files Browse the repository at this point in the history
  • Loading branch information
Makrennel committed Jun 14, 2024
1 parent d425c42 commit 8053430
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions srcpkgs/hyprland/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'hyprland'
pkgname=hyprland
version=0.41.1
revision=1
revision=2
build_style=cmake
configure_args=" --no-warn-unused-cli \
-DCMAKE_BUILD_TYPE:STRING=Release \
Expand Down Expand Up @@ -65,31 +65,14 @@ post_install() {
# license
vlicense LICENSE

# binaries
# vbin build/Hyprland
# vbin build/hyprctl/hyprctl
# vbin build/hyprpm/hyprpm

# assets
# vmkdir usr/share/wayland-sessions
# vmkdir usr/share/hyprland
# vmkdir usr/share/xdg-desktop-portal

# install -Dm0644 assets/*.png ${DESTDIR}/usr/share/hyprland
# vinstall assets/header.svg 644 usr/share/hyprland
# vinstall assets/hyprland-portals.conf 644 usr/share/xdg-desktop-portal
# vinstall example/hyprland.desktop 644 usr/share/wayland-sessions
# vinstall example/hyprland.conf 644 usr/share/hyprland

# vman docs/Hyprland.1
# vman docs/hyprctl.1

# headers
vmkdir usr/include/hyprland
vmkdir usr/include/hyprland/protocols
vmkdir usr/include/hyprland/wlr
vmkdir usr/share/pkgconfig

cmake --build ./build --config Release --target generate-protocol-headers

find src -name '*.h*' -print0 | cpio --quiet -0dump ${DESTDIR}/usr/include/hyprland

pushd subprojects/wlroots-hyprland/include/wlr
Expand Down

0 comments on commit 8053430

Please sign in to comment.