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

Felix Yan felixonmars at archlinux.org
Fri Dec 9 02:31:02 UTC 2016


    Date: Friday, December 9, 2016 @ 02:31:02
  Author: felixonmars
Revision: 198507

upgpkg: libpinyin 1.7.0-1

Modified:
  libpinyin/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-09 02:30:13 UTC (rev 198506)
+++ PKGBUILD	2016-12-09 02:31:02 UTC (rev 198507)
@@ -4,8 +4,8 @@
 # Contributor: WU Jun <quark at lihdd dot net>
 
 pkgname=libpinyin
-pkgver=1.6.0
-_modelver=12
+pkgver=1.7.0
+_modelver=14
 pkgrel=1
 pkgdesc="Library to deal with pinyin"
 arch=('i686' 'x86_64')
@@ -19,7 +19,7 @@
         "http://downloads.sourceforge.net/libpinyin/model${_modelver}.text.tar.gz")
 noextract=("model${_modelver}.text.tar.gz")
 sha512sums=('SKIP'
-            'a2282bb660481691d86b766fd0e1b9d0d6e58e26a055685785cfd934f8fcc2b5ca90b7c08b89d885f20869a52dceb78033eb6bb648fd16a8d36bd24a8b562814')
+            '792d3cf7ab7fdea701737cea66d18f697015f19d18b6d26273db2da0ae28291f38b3d8a5717f595da63fbe573921c552bdce10c4bec9a0834947dfec92265da9')
 
 prepare() {
   cd ${pkgname}
@@ -32,6 +32,9 @@
   cd ${pkgname}
   aclocal && libtoolize --force && autoheader && automake -a && autoconf
 
+  # :/
+  sed -i 's/AX_CXX_COMPILE_STDCXX(11)/AX_CXX_COMPILE_STDCXX_11()/' configure
+
   ./configure --prefix=/usr # --with-dbm=KyotoCabinet
   make
 }



More information about the arch-commits mailing list