blob: 3e36dfd48c2c59b02f27de1876b9d6b508c10116 (
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
|
# Maintainer: DreamMaoMao <maoopzopaasnmakslpo@gmail.com>
pkgname=maomaowm-git
pkgver=r163.0e2a566
pkgrel=1
pkgdesc="A Wayland compositor with smooth animation"
url="https://github.com/DreamMaoMao/maomaowm"
arch=("x86_64")
license=("MIT")
depends=(
glibc
wayland
libinput
libdrm
pixman
libxkbcommon
wlroots0.17
)
makedepends=(git meson ninja wayland-protocols)
provides=(maomaowm wayland-compositor)
conflicts=(maomaowm)
source=("$pkgname::git+https://github.com/DreamMaoMao/maomaowm.git")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd $pkgname
git checkout main
}
build() {
export PKG_CONFIG_PATH=/usr/lib/wlroots0.17/pkgconfig:$PKG_CONFIG_PATH
arch-meson $pkgname build
ninja -C build
}
package() {
DESTDIR="$pkgdir/" ninja -C build install
}
|