blob: 5b764b1d66c9b51a2b4831087767159aaa09ff18 (
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
|
# $Id: PKGBUILD 85687 2013-03-05 05:00:24Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
pkgname=opencc
pkgver=0.4.0
pkgrel=1
pkgdesc="Library for Open Chinese Convert"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/opencc/"
license=('Apache')
depends=('glibc')
makedepends=('cmake')
source=("http://opencc.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
build() {
cd "$srcdir/${pkgname}-${pkgver}"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
md5sums=('00a2de2314cd28fc8631c229fb3aa894')
|