diff options
author | root <root@rshg054.dnsready.net> | 2013-03-24 00:48:02 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-24 00:48:02 -0700 |
commit | 31416859638d756d88136e4e0eb78027c16ac17f (patch) | |
tree | ba60745c928ce1e6525cd1994b3009016fa11c55 /community/libpinyin/PKGBUILD | |
parent | bfffe04eef66a8556e972c888cc854a202b307d9 (diff) |
Sun Mar 24 00:47:57 PDT 2013
Diffstat (limited to 'community/libpinyin/PKGBUILD')
-rw-r--r-- | community/libpinyin/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/libpinyin/PKGBUILD b/community/libpinyin/PKGBUILD index 08c377e9d..12b2c07a0 100644 --- a/community/libpinyin/PKGBUILD +++ b/community/libpinyin/PKGBUILD @@ -1,23 +1,26 @@ -# $Id: PKGBUILD 86670 2013-03-21 01:28:41Z fyan $ +# $Id: PKGBUILD 86857 2013-03-23 08:32:34Z 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=1 -pkgdesc="Library to deal with pinyin." +pkgrel=2 +pkgdesc="Library to deal with pinyin" arch=('i686' 'x86_64') url="https://github.com/libpinyin/libpinyin" 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") + "http://downloads.sourceforge.net/libpinyin/model5.text.tar.gz" + "https://github.com/epico/libpinyin/commit/00fec992f5c760f546a1db933fb08325fc9cccbf.patch") 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 @@ -30,4 +33,5 @@ package() { make DESTDIR="${pkgdir}" install } md5sums=('1d9a768496c8a4368d3488639cadd554' - 'a83812e2d3be5695be54f95d9d7a3aa0') + 'a83812e2d3be5695be54f95d9d7a3aa0' + '2163a85183c36f69d65d19b2bc9e2c9b') |