desktop/fcitx-chewing/PKGBUILD
2014-06-06 04:44:05 +00:00

29 lines
676 B
Bash

# Maintainer: Weng Xuetian <wengxt@gmail.com>
pkgname=fcitx-chewing
pkgver=0.2.2
pkgrel=1
pkgdesc="Fcitx Wrapper for chewing."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.7' 'libchewing')
makedepends=('cmake' )
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=('5f24cffc068043251671f9e385d4a6cd')