aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-10 20:07:04 -0400
committerLeo <thinkabit.ukim@gmail.com>2019-06-11 05:40:41 -0300
commitb6ad5660de64a368d2fff2465881f59da852dd2e (patch)
tree8349469e48f1dc08e34b4c9de484ee0d129404a0
parent183bf0fb85bed898cfe4001d3fb730bb58c25cb2 (diff)
downloadaports-b6ad5660de64a368d2fff2465881f59da852dd2e.tar.gz
aports-b6ad5660de64a368d2fff2465881f59da852dd2e.tar.bz2
aports-b6ad5660de64a368d2fff2465881f59da852dd2e.tar.xz
community/swaybg: new 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"