desktop/libgooglepinyin/PKGBUILD

37 lines
915 B
Bash
Raw Normal View History

2011-09-25 02:41:58 +08:00
#
# 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
2012-02-23 12:09:30 +08:00
pkgver=0.1.2
2011-09-25 02:41:58 +08:00
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)
2012-02-23 12:09:30 +08:00
md5sums=('d697aba08fdc0fe15c9d7b6096ca3b28')
2011-09-25 02:41:58 +08:00
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
}