summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-25 09:24:12 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-11-29 04:55:35 -0600
commitd4db83e8ee5506eb2b5da35fb569c062faa2bc44 (patch)
tree1e31389a64997941eb2fafa9558701aca4b1e615
parenta45b7f9c5f1736c8dcb9e5a153bec776fe969dd8 (diff)
downloadpackages-d4db83e8ee5506eb2b5da35fb569c062faa2bc44.tar.gz
packages-d4db83e8ee5506eb2b5da35fb569c062faa2bc44.tar.bz2
packages-d4db83e8ee5506eb2b5da35fb569c062faa2bc44.tar.xz
packages-d4db83e8ee5506eb2b5da35fb569c062faa2bc44.zip
user/wf-config: New package
-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"