# Maintainer: pkgname=fcitx5-anthy pkgver=5.0.14 pkgrel=1 pkgdesc="anthy input method support for fcitx5" url="https://github.com/fcitx/fcitx5-anthy" # armhf: extra-cmake-modules arch="all !armhf" license="GPL-3.0-or-later" makedepends=" anthy-dev cmake extra-cmake-modules gettext-dev fcitx5-dev fcitx5-qt-dev qt5-qttools-dev samurai " subpackages="$pkgname-lang" source="$pkgname-$pkgver.tar.gz::https://github.com/fcitx/fcitx5-anthy/archive/refs/tags/$pkgver.tar.gz" options="!check" # no tests build() { CFLAGS="$CFLAGS -flto=auto" \ CXXFLAGS="$CXXFLAGS -flto=auto" \ cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" bfa5f1747cef44a8523164b7cd8c6c7c2b0265dbb4f64e0fbf6a7d26d1c6c07754500cee0b825cf6c32dfd07bfe01cc3421ebb867727b8f1a8a59e16d4f8681b fcitx5-anthy-5.0.14.tar.gz "