From 110be42a7d267647241905936c414a53ad18ddae Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Tue, 17 Jun 2025 11:22:17 -0400 Subject: Test packaging for debian and arch Signed-off-by: Andrew Opalach --- PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c5c2914 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,52 @@ +# Maintainer: Andrew Opalach +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" +} -- cgit v1.2.3-101-g0448