desktop/fcitx-cloudpinyin/PKGBUILD
2017-11-29 14:11:36 +00:00

27 lines
688 B
Bash

pkgname=fcitx-cloudpinyin
pkgver=0.3.6
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=('6daa498e11ad7d79d83fcbdd9895e748')