desktop/fcitx-googlepinyin/PKGBUILD

28 lines
639 B
Bash
Raw Normal View History

2011-09-25 02:41:58 +08:00
pkgname=fcitx-googlepinyin
2012-10-21 23:43:06 +08:00
pkgver=0.1.6
2011-09-25 02:41:58 +08:00
pkgrel=1
pkgdesc="Fcitx Wrapper for googlepinyin."
arch=('i686' 'x86_64')
url="http://code.google.com/p/fcitx"
license=('GPL')
depends=('fcitx>=4.2.1' 'libgooglepinyin>=0.1.2')
2011-09-25 02:41:58 +08:00
makedepends=('cmake' 'intltool')
source=(http://fcitx.googlecode.com/files/${pkgname}-${pkgver}.tar.xz)
2012-10-21 23:43:06 +08:00
md5sums=('7ee33bbb66d29536819b0d2f73b69713')
2011-09-25 02:41:58 +08:00
build(){
cd "$srcdir/${pkgname}-${pkgver}"
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
2012-02-23 12:09:30 +08:00
}