desktop/fcitx-kkc/PKGBUILD

30 lines
697 B
Bash
Raw Normal View History

# Maintainer: csslayer <wengxt AT gmail com>
2012-02-23 12:52:26 +08:00
pkgname=fcitx-kkc
2014-06-05 16:52:57 +08:00
pkgver=0.1.1
2012-02-23 12:52:26 +08:00
pkgrel=1
pkgdesc="Fcitx Wrapper for libkkc."
2012-02-23 12:52:26 +08:00
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
2012-02-23 12:52:26 +08:00
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)
2012-02-23 12:52:26 +08:00
build(){
cd "$srcdir/${pkgname}-${pkgver}"
2014-06-05 16:52:57 +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
}
package ()
{
cd "$srcdir/${pkgname}-${pkgver}/build"
make DESTDIR=${pkgdir} install
}
2014-06-05 16:52:57 +08:00
md5sums=('3aaf697492df94bd8cf1056b92a0454c')