updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / fcitx-googlepinyin / PKGBUILD
blob6b69847ebba299b1bbdab6a9daa77b2132931195
1 pkgname=fcitx-googlepinyin
2 pkgver=0.1.3
3 pkgrel=1
4 pkgdesc="Fcitx Wrapper for googlepinyin."
5 arch=('i686' 'x86_64')
6 url="http://code.google.com/p/fcitx"
7 license=('GPL')
8 depends=('fcitx>=4.1.2' 'libgooglepinyin')
9 makedepends=('cmake' 'intltool')
10 source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
12 build(){
13     cd "$srcdir/${pkgname}-${pkgver}"
14     rm -rf build
15     mkdir build
16     cd build
17     
18     cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
19     make
22 package ()
24     cd "$srcdir/${pkgname}-${pkgver}/build"
25     make DESTDIR=${pkgdir} install
27 md5sums=('68a4c7c3ac6debb71cf161703c460101')