Subject: [PATCH v2] testing/libhangul: new aport

From: Cormac Stephenson <[email-masked]>
Date: Tue, 30 Mar 2021 01:58:14 +0000

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

diff --git a/testing/libhangul/APKBUILD b/testing/libhangul/APKBUILD
new file mode 100644
index 0000000000..aaa3b82300
--- /dev/null
+++ b/testing/libhangul/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Cormac Stephenson <[email-masked]>
+# Maintainer: Cormac Stephenson <[email-masked]>
+pkgname=libhangul
+pkgver=0.1.0
+pkgrel=0
+pkgdesc="Library for Korean input method logic"
+url="https://github.com/libhangul/libhangul"
+arch="all"
+license="LGPL-2.1-only"
+makedepends="autoconf automake libintl"
+subpackages="$pkgname-dev $pkgname-lang"
+source="https://github.com/libhangul/libhangul/archive/refs/tags/$pkgname-$pkgver.tar.gz"
+builddir="libhangul-libhangul-0.1.0"
+
+prepare() {
+	default_prepare
+	./autogen.sh
+}
+
+build() {
+	./configure --prefix=/usr
+	autoreconf
+	make
+}
+
+check() {
+	make check
+}
+
+package() {
+	cd src/"$builddir"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f601c18de0f29e8826373c77a7b96938a0a54b8b10a14c4daebf2a93d6fc567edc470608f1573853e28db1f9d7a6c66debdbf6dff0262f9d69d4af7ed730f611  libhangul-0.1.0.tar.gz"
-- 
2.30.2