aboutsummaryrefslogtreecommitdiffstats
path: root/community/ibus-hangul/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ibus-hangul/APKBUILD')
-rw-r--r--community/ibus-hangul/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/community/ibus-hangul/APKBUILD b/community/ibus-hangul/APKBUILD
new file mode 100644
index 00000000000..8468839d025
--- /dev/null
+++ b/community/ibus-hangul/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Cormac Stephenson <c7s@kasku.net>
+# Maintainer: Cormac Stephenson <c7s@kasku.net>
+pkgname=ibus-hangul
+pkgver=1.5.5
+pkgrel=0
+pkgdesc="Korean input method engine for IBus"
+url="https://github.com/libhangul/ibus-hangul"
+arch="all"
+license="GPL-2.0-only"
+depends="py3-gobject3 gtk-update-icon-cache"
+makedepends="automake autoconf libtool ibus-dev libhangul-dev gtk+3.0-dev"
+subpackages="$pkgname-lang $pkgname-pyc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/libhangul/ibus-hangul/archive/refs/tags/$pkgver.tar.gz
+ 0001-Update-gettext-version.patch
+ "
+options="!check" # test requires user interaction
+
+prepare() {
+ default_prepare
+ autoreconf -fi
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --libexec=/usr/lib/ibus
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+pyc() {
+ default_pyc
+
+ amove usr/share/ibus-hangul/setup/__pycache__
+}
+
+sha512sums="
+8b633b4bfbe4af0cade423878e850421e6b66e7bfc8b598a322208b6d09fc0d1006345edcd1cd00e40574bff83af8755a0fbd3d65e2427be681ac9235225d8ca ibus-hangul-1.5.5.tar.gz
+3f0decc3d251c2b2d832291fac2ee3b288214145d0d274519e32e868f69de45fed81e43133509e92a17a025f00b7d5bc55cf8691b0ffd5c83b33dc0e67f6d6b0 0001-Update-gettext-version.patch
+"