diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-11-25 09:24:12 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-11-29 04:55:35 -0600 |
commit | d4db83e8ee5506eb2b5da35fb569c062faa2bc44 (patch) | |
tree | 1e31389a64997941eb2fafa9558701aca4b1e615 /user/wf-config/APKBUILD | |
parent | a45b7f9c5f1736c8dcb9e5a153bec776fe969dd8 (diff) | |
download | packages-d4db83e8ee5506eb2b5da35fb569c062faa2bc44.tar.gz packages-d4db83e8ee5506eb2b5da35fb569c062faa2bc44.tar.bz2 packages-d4db83e8ee5506eb2b5da35fb569c062faa2bc44.tar.xz packages-d4db83e8ee5506eb2b5da35fb569c062faa2bc44.zip |
user/wf-config: New package
Diffstat (limited to 'user/wf-config/APKBUILD')
-rw-r--r-- | user/wf-config/APKBUILD | 34 |
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" |