2012-02-23 12:52:26 +08:00
|
|
|
pkgname=fcitx-chewing
|
2017-09-16 13:41:21 +08:00
|
|
|
pkgver=0.2.3
|
2013-01-30 08:18:25 +08:00
|
|
|
pkgrel=1
|
2012-02-23 12:52:26 +08:00
|
|
|
pkgdesc="Fcitx Wrapper for chewing."
|
2017-09-16 13:41:21 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/fcitx/fcitx-chewing"
|
2012-02-23 12:52:26 +08:00
|
|
|
license=('GPL')
|
2013-01-30 08:18:25 +08:00
|
|
|
depends=('fcitx>=4.2.7' 'libchewing')
|
|
|
|
makedepends=('cmake' )
|
2014-06-06 12:44:05 +08:00
|
|
|
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
2012-02-23 12:52:26 +08:00
|
|
|
|
|
|
|
build(){
|
|
|
|
cd "$srcdir/${pkgname}-${pkgver}"
|
2014-06-06 12:44:05 +08:00
|
|
|
[[ -d build ]] && rm -rf build ; mkdir build
|
2012-02-23 12:52:26 +08:00
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2014-06-06 12:44:05 +08:00
|
|
|
package (){
|
2012-02-23 12:52:26 +08:00
|
|
|
cd "$srcdir/${pkgname}-${pkgver}/build"
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|
2014-06-06 12:44:05 +08:00
|
|
|
|
2017-09-16 13:41:21 +08:00
|
|
|
md5sums=('6d331e7abb439ac8d1e7538ae94f53d2')
|