desktop/fcitx-cloudpinyin/PKGBUILD

27 lines
688 B
Bash
Raw Normal View History

2011-09-25 02:41:58 +08:00
pkgname=fcitx-cloudpinyin
2017-09-16 13:43:19 +08:00
pkgver=0.3.5
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."
2017-09-16 13:43:19 +08:00
arch=('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')
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
2017-09-16 13:43:19 +08:00
md5sums=('4670413ce6ed8e902d9647f482364042')