updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / opencc / PKGBUILD
blob39b907236afcedc9a63dae1c2eb3d9cf4265b7f6
1 pkgname=opencc
2 pkgver=0.3.0
3 pkgrel=1
4 pkgdesc="Library for Open Chinese Convert"
5 arch=(i686 x86_64)
6 url="http://code.google.com/p/opencc/"
7 license=('Apache License 2.0')
8 depends=('glibc')
9 makedepends=('cmake')
10 source=("http://opencc.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
12 build() {
13   cd $srcdir/${pkgname}-${pkgver}
14   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
15   make || return 1
16   make DESTDIR="${pkgdir}" install || return 1
18 md5sums=('84462870e5d491da24bb33a5fb494911')