summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dff5ee30870e5c385c61d03974f210d85d48ad94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Maintainer: Styly <claudioresendeptbr@gmail.com>
pkgname=hyprdwl-git
pkgver=0.2.1
pkgrel=2
pkgdesc="Split monitor workspaces for Hyprland, so it can be just like dwm"
arch=('x86_64')
url="https://github.com/Duckonaut/split-monitor-workspaces"
license=('GPL')
depends=(cairo
         hyprland
         gcc-libs
         glibc
         glslang
         libdisplay-info
         libdrm
         libglvnd
         libinput
         libliftoff
         libx11
         libxcb
         libxcomposite
         libxfixes
         libxkbcommon
         libxrender
         opengl-driver
         pango
         pixman
         pixman
         polkit
         seatd
         systemd-libs
         vulkan-icd-loader
         vulkan-validation-layers
         wayland
         wayland-protocols
         xcb-proto
         xcb-util
         xcb-util-errors
         xcb-util-keysyms
         xcb-util-renderutil
         xcb-util-wm
         xorg-xinput
         xorg-xwayland)
depends+=(libdisplay-info.so)
makedepends=(cmake
             gdb
             meson
             ninja
             vulkan-headers
             xorgproto
             git
           )

source=(
  "git+https://github.com/Duckonaut/split-monitor-workspaces.git"
  "git+https://github.com/hyprwm/Hyprland.git"  
)
sha256sums=('SKIP'
            'SKIP')


prepare() {
  
    export HYPRLAND_HEADERS="$srcdir/Hyprland"
}

build() {
	cd "split-monitor-workspaces"
	make all
  echo "Add 'exec-once=hyprctl plugin load /usr/lib/split-monitor-workspaces.so' to your hyprland config."
}
package(){
  install -Dm0775 "$srcdir/split-monitor-workspaces/split-monitor-workspaces.so" "$pkgdir/usr/lib/split-monitor-workspaces.so"
  install -Dm0775 "$srcdir/../hyprdwl.hook" "$pkgdir/etc/pacman.d/hooks/hyperdwl.hook"
}