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

Felix Yan fyan at archlinux.org
Tue Jul 14 08:08:26 UTC 2015


    Date: Tuesday, July 14, 2015 @ 10:08:25
  Author: fyan
Revision: 136820

upgpkg: libpinyin 1.1.91-1

Modified:
  libpinyin/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-14 07:30:01 UTC (rev 136819)
+++ PKGBUILD	2015-07-14 08:08:25 UTC (rev 136820)
@@ -4,20 +4,22 @@
 # Contributor: WU Jun <quark at lihdd dot net>
 
 pkgname=libpinyin
-pkgver=1.1.0
-_modelver=8
+pkgver=1.1.91
+_modelver=10
 pkgrel=1
 pkgdesc="Library to deal with pinyin"
 arch=('i686' 'x86_64')
 url="https://github.com/libpinyin/libpinyin"
 license=('GPL')
-depends=('db' 'glib2')
+# Switching to kyotocabinet will break all existing installation. Requesting a migration tool to prevent data loss:
+# https://github.com/libpinyin/libpinyin/issues/44
+depends=('db' 'glib2') # 'kyotocabinet'
 makedepends=('git')
 source=("git+https://github.com/$pkgname/${pkgname}.git#tag=$pkgver"
         "http://downloads.sourceforge.net/libpinyin/model${_modelver}.text.tar.gz")
 noextract=("model${_modelver}.text.tar.gz")
 sha512sums=('SKIP'
-            '6d40f6f633f82664226a5219bd34b94904df0277d80b0d2005904ac075d983df6d7071da7f20eea7fd8c5ce777443f725b6ce32b34f910faa1e557873610db80')
+            '75006472fc522026605a6f93a0328fa7d0a9b01da7c1d804a168f390b39cf7fac3985852b6efcb0f3ef01bec0b48a73652042af44191d11ca7e54097414c140a')
 
 prepare() {
   cd ${pkgname}
@@ -29,7 +31,9 @@
 build() {
   cd ${pkgname}
   aclocal && libtoolize --force && autoheader && automake -a && autoconf
-  ./configure --prefix=/usr && make
+
+  ./configure --prefix=/usr # --with-dbm=KyotoCabinet
+  make
 }
 
 package() {



More information about the arch-commits mailing list