# Maintainer: OriginCode pkgname=fcitx5-anthy-git pkgver=r152.5047209 pkgrel=3 pkgdesc="Anthy input method for fcitx5" arch=('x86_64') url="https://github.com/fcitx/fcitx5-anthy" license=('GPL') depends=('fcitx5-git' 'anthy' 'hicolor-icon-theme') makedepends=('cmake' 'git' 'extra-cmake-modules') conflicts=('fcitx-anthy') provides=('fcitx5-anthy') source=("git+$url.git") sha512sums=('SKIP') pkgver() { cd fcitx5-anthy printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd fcitx5-anthy cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=/usr/lib . make } package() { cd fcitx5-anthy make DESTDIR="$pkgdir" install }