desktop/libgooglepinyin/PKGBUILD
2011-09-24 18:41:58 +00:00

37 lines
915 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
# Contributor: csslayer <wengxt AT gmail com>
# Contributor: Yangtse <yangtsesu@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=libgooglepinyin
pkgver=0.1.1
pkgrel=1
pkgdesc="A fork from google pinyin on android"
arch=('i686' 'x86_64')
url="http://code.google.com/p/libgooglepinyin"
license=('APACHE')
makedepends=('cmake')
conflicts=('libgooglepinyin-hg')
source=(http://libgooglepinyin.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
build(){
cd "${srcdir}"
msg "Starting make..."
rm -rf "${srcdir}/build"
cp -rf "${srcdir}/${pkgname}-${pkgver}" "$srcdir/build"
cd "${srcdir}/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr . \
-DENABLE_STATIC=Off
make DESTDIR=${pkgdir} install
}
md5sums=('dd78eaf1fb4fc7dac379a8c837d8940d')