summaryrefslogtreecommitdiff
path: root/user/swaybg/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2024-11-25 03:03:34 -0800
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 04:55:34 -0600
commit4e2241194b7b252e2f431664f25b135d2ed428c5 (patch)
tree5341ff53a2abac2d2220b669e72c4928c180d3fb /user/swaybg/APKBUILD
parent85442344ee4b028f7a5b1ca6b17917c982c79579 (diff)
downloadpackages-4e2241194b7b252e2f431664f25b135d2ed428c5.tar.gz
packages-4e2241194b7b252e2f431664f25b135d2ed428c5.tar.bz2
packages-4e2241194b7b252e2f431664f25b135d2ed428c5.tar.xz
packages-4e2241194b7b252e2f431664f25b135d2ed428c5.zip
user/swaybg: new package
Diffstat (limited to 'user/swaybg/APKBUILD')
-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"