# $Id: PKGBUILD 111631 2014-05-21 15:57:47Z fyan $ # Maintainer: Felix Yan # Contributor: poplarch pkgname=fcitx-cloudpinyin pkgver=0.3.4 pkgrel=1 pkgdesc='Standalone module for fcitx that uses pinyin API on the internet to provide additional input candidates' arch=('i686' 'x86_64') url="https://github.com/fcitx/fcitx-cloudpinyin" license=('GPL') depends=('curl' 'fcitx') makedepends=('cmake') source=("http://download.fcitx-im.org/$pkgname/$pkgname-$pkgver.tar.xz") build() { cd ${pkgname}-${pkgver} cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release . make } package() { cd ${pkgname}-${pkgver} make DESTDIR="$pkgdir" install } sha512sums=('ecfab0e45387793986fc75f24372d69910552d6168c9dd63f258bf05bfa397350bfea2a6fc419ab067fc5a7737a3e8c39d4b8ae5d0501871e3365c8a07553b09')