[arch-commits] Commit in opencc/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Fri Nov 7 04:37:58 UTC 2014


    Date: Friday, November 7, 2014 @ 05:37:58
  Author: fyan
Revision: 122134

upgpkg: opencc 1.0.1-1

upstream new release

Modified:
  opencc/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-07 04:28:16 UTC (rev 122133)
+++ PKGBUILD	2014-11-07 04:37:58 UTC (rev 122134)
@@ -1,18 +1,19 @@
 # $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgbase=opencc
 pkgname=(opencc opencc-doc)
-pkgver=0.4.3
-pkgrel=2
+pkgver=1.0.1
+pkgrel=1
 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")
+makedepends=('cmake' 'doxygen' 'python')
+source=("https://github.com/BYVoid/OpenCC/archive/ver.${pkgver}.tar.gz")
+sha512sums=('22e5a38f984b19bae3f4653700fec58e66add9e6867a3260183fb1d96ff6042bf64f8f437323732f1a76e88be772666f5924fed30fa5a8d0c2ff1e268b7c0ab3')
 
 build() {
-  cd ${pkgbase}-${pkgver}
+  cd OpenCC-ver.${pkgver}
   cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION:BOOL=ON
   make
 }
@@ -19,9 +20,9 @@
 
 package_opencc() {
   pkgdesc="Library for Open Chinese Convert"
-  depends=('glibc')
+  depends=('gcc-libs')
 
-  cd ${pkgbase}-${pkgver}
+  cd OpenCC-ver.${pkgver}
   make DESTDIR="${pkgdir}" install
   
   # Remove docs - install in splitted package
@@ -31,11 +32,7 @@
 package_opencc-doc() {
   pkgdesc="Documentation for Library for Open Chinese Convert"
 
-  cd ${pkgbase}-${pkgver}/doc
+  cd OpenCC-ver.${pkgver}/doc
   make DESTDIR="${pkgdir}" install
-
-  # Remove manpages - already installed in main package
-  rm -r "$pkgdir/usr/share/man"
 }
 
-sha512sums=('ac31c3c018467cf047e077d399903560feb0f8c214accd1ef45d0b1477d011af8e9bf2dbde4497c133daef61b6508460e9b2b04c0b5f336c2d67fc840a1d07e6')


More information about the arch-commits mailing list