summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/swaybg/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/swaybg/APKBUILD b/user/swaybg/APKBUILD
new file mode 100644
index 000000000..9c7582585
--- /dev/null
+++ b/user/swaybg/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor Síle Ekaterin Liszka <sheila@vulpine.house>:
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=swaybg
+pkgver=1.2.1
+pkgrel=0
+pkgdesc="Wallpaper tool for Wayland compositors"
+url="https://swaywm.org"
+arch="all"
+license="MIT"
+depends=""
+makedepends="cairo-dev gdk-pixbuf-dev meson scdoc wayland-dev
+ wayland-protocols"
+subpackages="$pkgname-doc"
+source="https://github.com/swaywm/swaybg/releases/download/v$pkgver/swaybg-$pkgver.tar.gz"
+
+build() {
+ meson setup \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ --wrap-mode=nofallback \
+ . output
+ meson compile -C output
+}
+
+check() {
+ meson test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C output
+}
+
+sha512sums="57b911c11055374079645b8acf5b81cb3481a6d290f6e1a7e18a8e52202edfc3f3a71cc09fbe8a0500223f3b28091a8c979ccdd917861321cb5b8201887a014a swaybg-1.2.1.tar.gz"