summaryrefslogtreecommitdiff
path: root/community/opencc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/opencc/PKGBUILD
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/opencc/PKGBUILD')
-rw-r--r--community/opencc/PKGBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/community/opencc/PKGBUILD b/community/opencc/PKGBUILD
deleted file mode 100644
index 23122e818..000000000
--- a/community/opencc/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 88293 2013-04-16 02:22:14Z fyan $
-# Maintainer: Felix Yan <felixonmars@gmail.com>
-
-pkgbase=opencc
-pkgname=(opencc opencc-doc)
-pkgver=0.4.2
-pkgrel=2
-url="http://code.google.com/p/opencc/"
-arch=('i686' 'x86_64')
-license=('Apache')
-makedepends=('cmake' 'doxygen')
-source=("http://opencc.googlecode.com/files/${pkgbase}-${pkgver}.tar.gz")
-
-build() {
- cd "$srcdir/${pkgbase}-${pkgver}"
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION:BOOL=ON
- make
-}
-
-package_opencc() {
- pkgdesc="Library for Open Chinese Convert"
- depends=('glibc')
-
- cd "$srcdir/${pkgbase}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- # Remove docs - install in splitted package
- rm -r "$pkgdir/usr/share/opencc/doc"
-}
-
-package_opencc-doc() {
- pkgdesc="Documentation for Library for Open Chinese Convert"
-
- cd "$srcdir/${pkgbase}-${pkgver}/doc"
- make DESTDIR="${pkgdir}" install
-
- # Remove manpages - already installed in main package
- rm -r "$pkgdir/usr/share/man"
-}
-
-md5sums=('d5c001098e824dae0e3debb1b864304b')