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

Felix Yan fyan at nymeria.archlinux.org
Wed Dec 11 14:13:09 UTC 2013


    Date: Wednesday, December 11, 2013 @ 15:13:09
  Author: fyan
Revision: 102446

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   69 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-12-11 14:12:17 UTC (rev 102445)
+++ PKGBUILD	2013-12-11 14:13:09 UTC (rev 102446)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-
-pkgname=sunpinyin-data
-pkgver=2.0.3.20130220
-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")
-source=('http://open-gram.googlecode.com/files/lm_sc.t3g.arpa-20121025.tar.bz2'
-        'http://open-gram.googlecode.com/files/dict.utf8-20130220.tar.bz2')
-
-build() {
-  mkdir -p "$srcdir/raw"
-  ln -sf "$srcdir/lm_sc.t3g.arpa" "$srcdir/raw/lm_sc.t3g.arpa"
-  ln -sf "$srcdir/dict.utf8" "$srcdir/raw/dict.utf8"
-
-  ln -sf "/usr/share/doc/sunpinyin/SLM-inst.mk" "$srcdir/raw/Makefile"
-  cd "$srcdir/raw"
-  make
-}
-
-package() {
-  cd "$srcdir/raw"
-  make DESTDIR="$pkgdir" install
-}
-
-md5sums=('0586241ca33359ad176c842c90bf563e'
-         '1e95894a4a3d8923e86e7b78c77ac815')

Copied: sunpinyin-data/repos/community-any/PKGBUILD (from rev 102445, sunpinyin-data/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-12-11 14:13:09 UTC (rev 102446)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=sunpinyin-data
+pkgver=2.0.3.20131211
+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")
+source=('http://open-gram.googlecode.com/files/lm_sc.t3g.arpa-20121025.tar.bz2'
+        'http://open-gram.googlecode.com/files/dict.utf8-20131211.tar.bz2')
+
+prepare() {
+  mkdir raw && cd raw
+  ln -s ../lm_sc.t3g.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
+}
+
+sha512sums=('3159dd3700382cfa617ba025ce542660580f3057e0dd6bbb92947902495db08e4454c1d09d01a55c90653444513d125dd034e944b060a9d8e009c3633b106d97'
+            'c8fb734cfe04ca4b6b5746bc405f025b55b09773d043a0b72f9bd24e89566e0e2aa7f1167efedb0799e07767b36c08a552a25e357e7e678337796087559e4a0c')




More information about the arch-commits mailing list