[arch-commits] Commit in sunpinyin-data/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Oct 21 13:47:35 UTC 2015
Date: Wednesday, October 21, 2015 @ 15:47:34
Author: fyan
Revision: 144562
use sourceforge source as suggested upstream (fixes FS#46529)
Modified:
sunpinyin-data/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-10-21 12:30:07 UTC (rev 144561)
+++ PKGBUILD 2015-10-21 13:47:34 UTC (rev 144562)
@@ -14,17 +14,12 @@
provides=("sunpinyin-data-le=$pkgver")
url="http://sunpinyin.googlecode.com"
makedepends=('sunpinyin' 'git')
-source=('git+https://code.google.com/p/open-gram')
-md5sums=('SKIP')
-# Google gives a 403 to the 3gm file
-#source=("https://open-gram.googlecode.com/git/lm_sc.3gm.arpa-${_lm_sc_ver}.tar.bz2"
-# "https://open-gram.googlecode.com/git/dict.utf8-${_dict_ver}.tar.bz2")
-#sha512sums=('3159dd3700382cfa617ba025ce542660580f3057e0dd6bbb92947902495db08e4454c1d09d01a55c90653444513d125dd034e944b060a9d8e009c3633b106d97'
-# 'adaf52a27c6afdeb950912845f3fcb7a6799f997d50a2892ceecf76ed13e3644407338d734832c2ce4b09bce11fec4731774f1eb2dd4c30bea5490555915bd5b')
+source=("http://downloads.sourceforge.net/project/open-gram/lm_sc.3gm.arpa-${_lm_sc_ver}.tar.bz2"
+ "http://downloads.sourceforge.net/project/open-gram/dict.utf8-${_dict_ver}.tar.bz2")
+sha512sums=('ea3ede62eb993c4d21ca7cf339635f4686493a0cefd57df4a31f00a001e67502a13ff9612ff667b941b82b47de00be9f3c9689677d04195a7ef8716bac087519'
+ 'adaf52a27c6afdeb950912845f3fcb7a6799f997d50a2892ceecf76ed13e3644407338d734832c2ce4b09bce11fec4731774f1eb2dd4c30bea5490555915bd5b')
prepare() {
- bsdtar -xf open-gram/lm_sc.3gm.arpa-${_lm_sc_ver}.tar.bz2
- bsdtar -xf open-gram/dict.utf8-${_dict_ver}.tar.bz2
mkdir raw && cd raw
ln -s ../lm_sc.3gm.arpa
ln -s ../dict.utf8
More information about the arch-commits
mailing list