# Contributor: Lindsay Zhou <i@lin.moe>
# Maintainer: Lindsay Zhou <i@lin.moe>
pkgname=fcitx5-table-other
pkgver=5.1.4
pkgrel=0
pkgdesc="other-table input method support for fcitx5"
url="https://github.com/fcitx/fcitx5-table-other"
arch="noarch"
license="GPL-3.0-only"
makedepends="
	cmake
	extra-cmake-modules
	gettext-dev
	fcitx5-dev
	libime-dev
	samurai
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx5-table-other/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no tests

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
ae54d94255cf44b4807684bf552763a7e932908e5c340427417f554779722951bd375e9accd8a1a97a35497d320e46d3d0e97d3d7b6e523ab65b26003a22c6ea  fcitx5-table-other-5.1.4.tar.gz
"
