aboutsummaryrefslogtreecommitdiffstats
path: root/community/swaybg/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/swaybg/APKBUILD')
-rw-r--r--community/swaybg/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/swaybg/APKBUILD b/community/swaybg/APKBUILD
new file mode 100644
index 0000000000..d5b23aeccf
--- /dev/null
+++ b/community/swaybg/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=swaybg
+pkgver=1.0
+pkgrel=0
+pkgdesc="Wallpaper daemon for Wayland"
+url="http://swaywm.org"
+arch="all"
+license="MIT"
+options="!check"
+makedepends="cairo-dev
+ gdk-pixbuf-dev
+ libxkbcommon-dev
+ meson
+ ninja
+ scdoc
+ wayland-dev
+ wayland-protocols
+ "
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ meson -Dswaybg-version="$pkgver" --prefix /usr build
+ ninja -C build
+}
+
+package() {
+ cd "$builddir"
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+sha512sums="67d0e0109b906ece51800729182940374cc59fa07d0866b57cf876d12191fe12e796b84350a849dc85183fa58a3b2d196191e48dcc03dcc3708a980ed4a8cff0 swaybg-1.0.tar.gz"