2011-09-25 02:41:58 +08:00
|
|
|
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
|
|
|
|
# Contributor: poplarch <poplarch@gmail.com>
|
|
|
|
|
|
|
|
pkgname=fcitx-cloudpinyin
|
2014-06-06 12:44:05 +08:00
|
|
|
pkgver=0.3.4
|
2011-09-25 02:41:58 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="This is a standalone module for fcitx, it can use pinyin API on the internet to input."
|
|
|
|
arch=('i686' 'x86_64')
|
2014-06-06 12:44:05 +08:00
|
|
|
url="https://github.com/fcitx/fcitx-cloudpinyin"
|
2011-09-25 02:41:58 +08:00
|
|
|
license=('GPL')
|
2014-06-06 12:44:05 +08:00
|
|
|
depends=('fcitx')
|
2013-11-13 22:14:42 +08:00
|
|
|
makedepends=('cmake' 'fcitx-pinyin')
|
2013-07-01 08:57:17 +08:00
|
|
|
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
2011-09-25 02:41:58 +08:00
|
|
|
|
|
|
|
build(){
|
|
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
2014-06-06 12:44:05 +08:00
|
|
|
[[ -d build ]] && rm -rf build ; mkdir build
|
2011-09-25 02:41:58 +08:00
|
|
|
cd build
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package ()
|
|
|
|
{
|
|
|
|
cd "$srcdir/${pkgname}-${pkgver}/build"
|
|
|
|
make DESTDIR=${pkgdir} install
|
2012-02-23 12:09:30 +08:00
|
|
|
}
|
2014-06-06 12:44:05 +08:00
|
|
|
|
|
|
|
md5sums=('033a4d4afcf8f8fd0bcde345aecab3c0')
|