Subject: [alpine-aports] [PATCH 3/5] community/swaybg: new APKBUILD

From: Drew DeVault <[email-masked]>
Date: Mon, 10 Jun 2019 20:07:04 -0400

---
 community/swaybg/APKBUILD | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 community/swaybg/APKBUILD

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 <[email-masked]>
+# Maintainer: Drew DeVault <[email-masked]>
+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"
-- 
2.22.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---