# $Id: PKGBUILD 86671 2013-03-21 01:29:43Z fyan $ # Maintainer: Felix Yan # Contributor: poplarch pkgname=fcitx-libpinyin pkgver=0.2.90 pkgrel=1 pkgdesc="Fcitx Wrapper for libpinyin, Library to deal with pinyin" arch=('i686' 'x86_64') url="https://github.com/fcitx/fcitx-libpinyin" license=('GPL') depends=('fcitx' 'libpinyin') makedepends=('cmake' 'intltool' 'wget') source=("http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz") install=$pkgname.install build() { cd "$srcdir/${pkgname}-${pkgver}" rm -rf build mkdir build cd build msg "Starting make..." cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. make } package() { cd "$srcdir/${pkgname}-${pkgver}/build" make DESTDIR="${pkgdir}" install } md5sums=('b19526c18102d8c240f2933d21bbbc81')