aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libhangul/APKBUILD
blob: 922db379500b9565a5a39e53767b12d3a4be3967 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Cormac Stephenson <c7s@kasku.net>
# Maintainer: Cormac Stephenson <c7s@kasku.net>
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="automake autoconf libtool gettext-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://github.com/libhangul/libhangul/archive/refs/tags/libhangul-$pkgver.tar.gz
	fix-gettext-version.patch
	"
builddir="$srcdir/libhangul-libhangul-$pkgver"

prepare() {
	default_prepare
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f601c18de0f29e8826373c77a7b96938a0a54b8b10a14c4daebf2a93d6fc567edc470608f1573853e28db1f9d7a6c66debdbf6dff0262f9d69d4af7ed730f611  libhangul-0.1.0.tar.gz
8d41a76c4c186068551ebeb5bbab983e43435178dcd516279d16a7a03648f45fecf3fe9792e061c4b6f0f5bb2791776c7d6c6608dc9e7035e4a48110a4ef1890  fix-gettext-version.patch"