pkgname=fcitx-cloudpinyin pkgver=0.3.5 pkgrel=1 pkgdesc="This is a standalone module for fcitx, it can use pinyin API on the internet to input." arch=('x86_64') url="https://github.com/fcitx/fcitx-cloudpinyin" license=('GPL') depends=('fcitx') makedepends=('cmake' 'fcitx-pinyin') 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=('4670413ce6ed8e902d9647f482364042')