summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/wf-config/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/wf-config/APKBUILD b/user/wf-config/APKBUILD
new file mode 100644
index 000000000..8cbb8b130
--- /dev/null
+++ b/user/wf-config/APKBUILD
@@ -0,0 +1,34 @@
+# 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"