# Contributor: Lindsay Zhou <i@lin.moe>
# Maintainer: Lindsay Zhou <i@lin.moe>
pkgname=fcitx5-table-extra
pkgver=5.1.7
pkgrel=0
pkgdesc="extra-table input method support for fcitx5"
url="https://github.com/fcitx/fcitx5-table-extra"
arch="noarch"
license="GPL-3.0-or-later"
makedepends="
	cmake
	extra-cmake-modules
	gettext-dev
	fcitx5-dev
	libime-dev
	samurai
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx5-table-extra/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="
33a2b3de13a1d5b235bf7aa88256956ee9b3ccc26ae1660b19b1691efdc7564daec97a0898a1916d2ab3e1ee1bd5f2d341234affd22052e9d58581c68935be69  fcitx5-table-extra-5.1.7.tar.gz
"
