summaryrefslogblamecommitdiff
path: root/user/swaybg/APKBUILD
blob: 9c758258579c5f22e9df9cc38579dcb3c87afb3f (plain) (tree)



































                                                                                                                                                                  
# 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"