summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa7c6b25a225c20b195fb375cc0dae8659a3140f (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
# Maintainer: Darko Nikolic <darkonikoloc@gmail.com>

pkgname=mwc
pkgver=0.1.1
pkgrel=2
pkgdesc='tiling wayland compositor based on wlroots and scenefx'
arch=('x86_64')
url='https://github.com/dqrk0jeste/mwc'
license=(MIT)
depends=(
  glibc
  wayland
  libinput
  libdrm
  pixman
  libxkbcommon
  libwlroots-0.18.so
  libscenefx-0.2.so
)
makedepends=(git meson ninja wayland-protocols)
optdepends=(
  'kitty: terminal emulator used in the default configuration'
  'rofi-wayland: app-launcher used in the default configuration'
  'xdg-desktop-portal: base xdg-desktop-portal'
  'xdg-desktop-portal-gtk: default xdg-desktop-portal for file picking'
  'xdg-desktop-portal-wlr: xdg-desktop-portal backend'
)
provides=(wayland-compositor)
source=("$pkgname-$pkgver.tar.gz::https://github.com/dqrk0jeste/mwc/archive/refs/tags/v$pkgver.tar.gz")
md5sums=('SKIP')

build() {
  cd "$pkgname-$pkgver"
  meson setup build --prefix=/usr --buildtype=release
  ninja -C build
}

package() {
  cd "$pkgname-$pkgver"
  ninja -C build install
}