summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7df8d4001e6e2451b3c3e9a214173639516e5186 (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
# Maintainer: Matt Quintanilla <matt at matt quintanilla . xyz>
_pkgname="cwcwm"
pkgname="cwc"
pkgver=0.1.0
pkgrel=2
pkgdesc='Extensible Wayland compositor with dynamic window management'
arch=('x86_64')
url="https://github.com/Cudiph/cwcwm"
license=('GPL-3.0-or-later')
depends=(
  'cairo'
  'gdk-pixbuf2'
  'glib2'
  'glibc'
  'hyprcursor'
  'libdrm'
  'libinput'
  'libwlroots-0.19.so'
  'libxcb'
  'libxkbcommon'
  'luajit-lgi'
  'luajit'
  'pango'
  'wayland'
  'xorg-xwayland'
  'xxhash'
)
makedepends=(
  'ldoc'
  'meson'
  'ninja'
  'wayland-protocols'
)
optdepends=(
  'brightnessctl: Default brightness controller in the configuration'
  'copyq: Default clipboard manager'
  'rofi-wayland: Default application launcher'
  'playerctl: Default media player controller'
  'swaybg: Default wallpaper'
  'swayidle: Default idle daemon'
  'waybar: Default bar'
  'xdg-desktop-portal-gtk: Default portal for file picker'
  'xdg-desktop-portal-wlr: Portal for screen sharing'
)

source=("https://github.com/Cudiph/cwcwm/archive/v$pkgver.tar.gz")
md5sums=('94bbf56b66993fddd3f83a13442fe2b1')

provides=('wayland-compositor')

build() {
  cd "$_pkgname-$pkgver" || exit 1
  meson setup build -Dplugins=true --buildtype=release
  ninja -C build
  make docs
}

package() {
  cd "$_pkgname-$pkgver" || exit 1
  DESTDIR="$pkgdir" make install
}