summaryrefslogblamecommitdiff
path: root/user/wf-config/APKBUILD
blob: 8cbb8b13042655e7f8b690900602d6b8f0cdddaf (plain) (tree)

































                                                                                                                                                                     
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=wf-config
pkgver=0.9.0
pkgrel=0
pkgdesc="A library for managing configuration files, written for Wayfire"
url="https://wayfire.org"
arch="all"
license="MIT"
depends=""
makedepends="glm libevdev-dev libxml2-dev meson"
subpackages="$pkgname-dev"
source="https://github.com/WayfireWM/wf-config/releases/download/v$pkgver/wf-config-$pkgver.tar.xz"

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="ac2ca69b7d96b9b145a4789f004705a2d7b323e6724e429a1e5a4544cd56828165a01f48a9863ceb92004c51c8f05729468f4a32c37545716f8d537d39e3236b  wf-config-0.9.0.tar.xz"