aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ibus-anthy/APKBUILD
blob: 8fd05ffc3d30e3d5d9063f54b799c8a77c633a16 (plain)
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=ibus-anthy
pkgver=1.5.10
pkgrel=0
pkgdesc="Japanese input method Anthy IMEngine for IBus Framework"
url="http://ibus.googlecode.com/"
arch="all"
license="GPL-2.0-only"
depends="ibus anthy py-gobject3 gtk-update-icon-cache"
makedepends="
	m4 automake autoconf intltool gobject-introspection
	gobject-introspection-dev ibus-dev anthy-dev
	py3-pytest
"
source="$pkgname-$pkgver.tar.gz::https://github.com/ibus/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
subpackages="$pkgname-lang"
# anthy tests require a running X server
options="!check"

build() {
	cd "$builddir"
	./autogen.sh \
		--prefix=/usr \
		--libexec=/usr/lib/ibus
	make
}

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

sha512sums="37a9b86ebe32ea639637880fffb29a86b971534e2faa668b2f88df66568bc99c58685481e1f7ae1f05fcf85d1816e3ef3e5fbc065207ac4188e0edcae8eb4925  ibus-anthy-1.5.10.tar.gz"