Subject: [PATCH] testing/libui: new aport

From: Drew DeVault <[email-masked]>
Date: Mon, 13 Dec 2021 19:45:38 +0100

---
 testing/libui/APKBUILD | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 testing/libui/APKBUILD

diff --git a/testing/libui/APKBUILD b/testing/libui/APKBUILD
new file mode 100644
index 0000000000..df6b463526
--- /dev/null
+++ b/testing/libui/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Drew DeVault <[email-masked]>
+pkgname=libui
+pkgver=4.1_alpha20211213
+_commit=fea45b2d5b75839be0af9acc842a147c5cba9295
+pkgrel=0
+pkgdesc="Simple and portable GUI library for C"
+url="https://github.com/andlabs/libui"
+arch="all"
+license="MIT"
+options="!check" # no test suite
+makedepends="
+	meson
+	gtk+3.0-dev
+	"
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/andlabs/libui/archive/$_commit.tar.gz"
+builddir="$srcdir/$pkgname-$_commit"
+
+build() {
+	pwd
+	echo $builddir
+	abuild-meson . output
+	meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+package() {
+	DESTDIR="$pkgdir" meson install --no-rebuild -C output
+}
+
+sha512sums="
+59f31e0b0afff0f41592f5edaa495b89275e1bc7329312145dcea2896aa2898658b60c187be8f805b4cf1c23ce1ae4171c637f115d716998569d5c53e103217b  libui-4.1_alpha20211213.tar.gz
+"
-- 
2.34.1