[arch-commits] Commit in sunpinyin-data/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu May 31 02:24:21 UTC 2018


    Date: Thursday, May 31, 2018 @ 02:24:20
  Author: felixonmars
Revision: 333879

archrelease: copy trunk to community-any

Added:
  sunpinyin-data/repos/community-any/PKGBUILD
    (from rev 333878, sunpinyin-data/trunk/PKGBUILD)
Deleted:
  sunpinyin-data/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 39 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-31 02:23:49 UTC (rev 333878)
+++ PKGBUILD	2018-05-31 02:24:20 UTC (rev 333879)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-
-pkgname=sunpinyin-data
-pkgver=2.0.3.20140820
-epoch=1
-_lm_sc_ver=20140820
-_dict_ver=20131214
-pkgrel=1
-arch=('any')
-pkgdesc="Statistical language model data from open-gram project for sunpinyin"
-license=('APACHE')
-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')
-
-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
-
-  ln -sf "/usr/share/doc/sunpinyin/SLM-inst.mk" ./Makefile
-}
-
-build() {
-  cd raw
-  make
-}
-
-package() {
-  cd raw
-  make DESTDIR="$pkgdir" install
-}
-

Copied: sunpinyin-data/repos/community-any/PKGBUILD (from rev 333878, sunpinyin-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-31 02:24:20 UTC (rev 333879)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin-data
+pkgver=2.0.3.20140820
+epoch=1
+_lm_sc_ver=20140820
+_dict_ver=20131214
+pkgrel=2
+arch=('any')
+pkgdesc="Statistical language model data from open-gram project for sunpinyin"
+license=('APACHE')
+provides=("sunpinyin-data-le=$pkgver")
+url="http://sunpinyin.googlecode.com"
+makedepends=('sunpinyin' 'git')
+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() {
+  mkdir raw && cd raw
+  ln -s ../lm_sc.3gm.arpa
+  ln -s ../dict.utf8
+
+  ln -sf "/usr/share/doc/sunpinyin/SLM-inst.mk" ./Makefile
+}
+
+build() {
+  cd raw
+  make
+}
+
+package() {
+  cd raw
+  make DESTDIR="$pkgdir" install
+}
+



More information about the arch-commits mailing list