summaryrefslogtreecommitdiff
path: root/community/opencc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-15 01:46:35 -0800
committerroot <root@rshg054.dnsready.net>2012-11-15 01:46:35 -0800
commit2264379d37a6a00a3ecec1fd03c5dd4796078d49 (patch)
treec7d44781aab3d74058a981f8e9035eee06f8f5bc /community/opencc/PKGBUILD
parent6fa5f08247aef1f757f376ef12bd4a6257c124f2 (diff)
Thu Nov 15 01:46:22 PST 2012
Diffstat (limited to 'community/opencc/PKGBUILD')
-rw-r--r--community/opencc/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/opencc/PKGBUILD b/community/opencc/PKGBUILD
new file mode 100644
index 000000000..ae94dce10
--- /dev/null
+++ b/community/opencc/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 79884 2012-11-14 13:43:08Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+
+pkgname=opencc
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Library for Open Chinese Convert"
+arch=('i686' 'x86_64')
+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=('84462870e5d491da24bb33a5fb494911')