summaryrefslogtreecommitdiff
path: root/community/libpinyin
diff options
context:
space:
mode:
Diffstat (limited to 'community/libpinyin')
-rw-r--r--community/libpinyin/PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/community/libpinyin/PKGBUILD b/community/libpinyin/PKGBUILD
index 1ec2b0265..2243af6c0 100644
--- a/community/libpinyin/PKGBUILD
+++ b/community/libpinyin/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 86857 2013-03-23 08:32:34Z fyan $
+# $Id: PKGBUILD 88087 2013-04-11 09:30:02Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Yangtse <yangtsesu@gmail.com>
# Contributor: WU Jun <quark at lihdd dot net>
pkgname=libpinyin
-pkgver=0.8.93
-pkgrel=2
+pkgver=0.9.0
+pkgrel=1
pkgdesc="Library to deal with pinyin"
arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/libpinyin/libpinyin"
@@ -13,13 +13,11 @@ license=('GPL')
depends=('db' 'glib2')
options=(!libtool)
source=("https://github.com/libpinyin/libpinyin/archive/${pkgver}.tar.gz"
- "http://downloads.sourceforge.net/libpinyin/model5.text.tar.gz"
- "https://github.com/epico/libpinyin/commit/00fec992f5c760f546a1db933fb08325fc9cccbf.patch")
+ "http://downloads.sourceforge.net/libpinyin/model5.text.tar.gz")
noextract=("model5.text.tar.gz")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../00fec992f5c760f546a1db933fb08325fc9cccbf.patch
cp "${srcdir}/model5.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/"
sed -i '/wget.*model5\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am
@@ -32,6 +30,5 @@ package() {
cd "${srcdir}/libpinyin-$pkgver"
make DESTDIR="${pkgdir}" install
}
-md5sums=('1d9a768496c8a4368d3488639cadd554'
- 'a83812e2d3be5695be54f95d9d7a3aa0'
- '2163a85183c36f69d65d19b2bc9e2c9b')
+md5sums=('e2237be88c6b9f1ed4f7c6e75a1738b4'
+ 'a83812e2d3be5695be54f95d9d7a3aa0')