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

Felix Yan fyan at archlinux.org
Tue Mar 3 14:24:04 UTC 2015


    Date: Tuesday, March 3, 2015 @ 15:24:04
  Author: fyan
Revision: 128625

upgpkg: libpinyin 1.1.0-1

Modified:
  libpinyin/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-03 14:05:14 UTC (rev 128624)
+++ PKGBUILD	2015-03-03 14:24:04 UTC (rev 128625)
@@ -1,10 +1,10 @@
 # $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
 # Contributor: Yangtse <yangtsesu at gmail.com> 
 # Contributor: WU Jun <quark at lihdd dot net>
 
 pkgname=libpinyin
-pkgver=1.0.99.20150212
+pkgver=1.1.0
 _modelver=8
 pkgrel=1
 pkgdesc="Library to deal with pinyin"
@@ -19,12 +19,15 @@
 sha512sums=('SKIP'
             '6d40f6f633f82664226a5219bd34b94904df0277d80b0d2005904ac075d983df6d7071da7f20eea7fd8c5ce777443f725b6ce32b34f910faa1e557873610db80')
 
-build() {
+prepare() {
   cd ${pkgname}
 
   cp ../model${_modelver}.text.tar.gz data/
   sed -i "/wget.*model${_modelver}\.text\.tar\.gz/ d" data/Makefile.am
+}
 
+build() {
+  cd ${pkgname}
   aclocal && libtoolize --force && autoheader && automake -a && autoconf
   ./configure --prefix=/usr && make
 }



More information about the arch-commits mailing list