summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..c5c2914
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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"
+}