blob: efb78715bb2190c3a3ef1ac42a532a1d5651dd59 (
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
|
# Maintainer: Darko Nikolic <darkonikoloc@gmail.com>
pkgname=mwc-git
pkgver=r275.b8e4c36
pkgrel=1
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=(mwc wayland-compositor)
conflicts=(mwc)
source=("$pkgname::git+https://github.com/dqrk0jeste/mwc.git")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
meson setup build --prefix=/usr --buildtype=release
ninja -C build
}
package() {
cd "$pkgname"
ninja -C build install
}
|