aboutsummaryrefslogtreecommitdiffstats
path: root/community/swaybg/APKBUILD
blob: d5b23aeccf8046c4bd4f90caf2c4cc9b0849a65c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"