desktop/fcitx-kkc/PKGBUILD
2015-06-11 14:29:48 +00:00

28 lines
713 B
Bash

pkgname=fcitx-kkc
pkgver=0.1.2
pkgrel=1
pkgdesc="Fcitx Wrapper for libkkc."
arch=('x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.8' 'libkkc' 'libkkc-data' 'skk-jisyo' 'qt')
makedepends=('cmake')
source=(http://download.fcitx-im.org/${pkgname}/${pkgname}-${pkgver}.tar.xz)
sha512sums=('fee5bc30cd9db1f333bb8dd58658f70894e188472767e0dd08b86ee4f711395ec423b29dc5c530613af6b8c4926f2e5253e61941e69ec0eecd2db135c50e9ff5')
build(){
cd "$srcdir/${pkgname}-${pkgver}"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package ()
{
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}