blob: bac38b86c29bd5706728c7602f68d66ce1abb75c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Author: CSSlayer <wengxt@gmail.com>
# Contributor: Yangtse <yangtsesu@gmail.com>
pkgname=libgooglepinyin
pkgver=0.1.2
pkgrel=1
pkgdesc="A fork from google pinyin on android"
arch=('i686' 'x86_64')
url="http://code.google.com/p/libgooglepinyin"
license=('APACHE')
depends=('gcc-libs')
makedepends=('cmake')
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
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
md5sums=('d697aba08fdc0fe15c9d7b6096ca3b28')
|