summaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: c5c2914aad5ab9af726371942e23da8c1a0941ce (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
# Maintainer: Andrew Opalach <andrew@akon.city>
pkgname=mauri
pkgver=0.14
pkgrel=1
epoch=0
pkgdesc="Wallpaper Engine Implementation"
arch=('x86_64')
url="https://git.akon.city/mauri"
license=('GPL-3.0-only')
groups=()
depends=('wayland' 'libx11' 'libxext' 'libxrandr' 'libegl' 'libgl' 'nlohmann-json' 'lz4' 'stb' 'glm' 'jansson' 'ffmpeg' 'libdeflate')
makedepends=('git' 'meson' 'cmake' 'wayland-protocols' 'wlr-protocols')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://git.akon.city/mauri/snapshot/mauri-0.14.tar.gz")
noextract=()
sha256sums=("7b557bd7626115813a9eb53f0b0ae8831e09405d04fee743f2dac6ee4c2cab9a")
validpgpkeys=()

prepare() {
	cd "$pkgname-$pkgver"
	meson subprojects download libalabaster libnaunet stela janus s3tc-dxt-decompression notcurses

	cd subprojects/libalabaster
	meson subprojects download c89atomic

	cd ../libnaunet
	meson subprojects download libev
}

build() {
	cd "$pkgname-$pkgver"
	meson setup build --prefix=/usr \
		--sysconfdir=/etc \
		--buildtype=plain \
		--wrap-mode=nodownload \
		-Dwindow=x11

	meson compile -C build
}

package() {
	cd "$pkgname-$pkgver"
	meson install -C build --destdir "$pkgdir"
}