# Maintainer: Weng Xuetian pkgname=fcitx-anthy pkgver=0.2.1 pkgrel=1 pkgdesc="Japanese Input support (Anthy) for fcitx." arch=('i686' 'x86_64') url="https://github.com/fcitx/fcitx-anthy" license=('GPL') depends=('fcitx>=4.2.8' 'anthy') makedepends=('cmake') source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz) build(){ cd "$srcdir/${pkgname}-${pkgver}" [[ -d build ]] && rm -rf build ; mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. make } package () { cd "$srcdir/${pkgname}-${pkgver}/build" make DESTDIR=${pkgdir} install } md5sums=('23ce628c01c5c09f9d4f1402c50fb19b')