[arch-commits] Commit in libpinyin/repos (4 files)

Felix Yan fyan at nymeria.archlinux.org
Tue Nov 26 07:54:09 UTC 2013


    Date: Tuesday, November 26, 2013 @ 08:54:09
  Author: fyan
Revision: 101465

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  libpinyin/repos/community-testing-i686/
  libpinyin/repos/community-testing-i686/PKGBUILD
    (from rev 101464, libpinyin/trunk/PKGBUILD)
  libpinyin/repos/community-testing-x86_64/
  libpinyin/repos/community-testing-x86_64/PKGBUILD
    (from rev 101464, libpinyin/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: libpinyin/repos/community-testing-i686/PKGBUILD (from rev 101464, libpinyin/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2013-11-26 07:54:09 UTC (rev 101465)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Yangtse <yangtsesu at gmail.com> 
+# Contributor: WU Jun <quark at lihdd dot net>
+
+pkgname=libpinyin
+pkgver=1.0.0
+_modelver=7
+pkgrel=1
+pkgdesc="Library to deal with pinyin"
+arch=('i686' 'x86_64')
+url="https://github.com/libpinyin/libpinyin"
+license=('GPL')
+depends=('db' 'glib2')
+makedepends=('git')
+source=("git+https://github.com/$pkgname/${pkgname}.git#tag=$pkgver"
+        "http://downloads.sourceforge.net/libpinyin/model${_modelver}.text.tar.gz")
+noextract=("model${_modelver}.text.tar.gz")
+
+build() {
+  cd ${pkgname}
+
+  cp ../model${_modelver}.text.tar.gz data/
+  sed -i "/wget.*model${_modelver}\.text\.tar\.gz/ d" data/Makefile.am
+
+  aclocal && libtoolize --force && autoheader && automake -a && autoconf
+  ./configure --prefix=/usr && make
+}
+
+package() {
+  cd ${pkgname}
+  make DESTDIR="${pkgdir}" install
+}
+
+sha512sums=('SKIP'
+            '74a56a23cdca24124037f688ed85a921089155a1b9a0b61e646f805b2bb698c56682c5d6a47ff86657c8b131a831dbee9d5cc5165d4c1f235b77fcd5b2e480ad')

Copied: libpinyin/repos/community-testing-x86_64/PKGBUILD (from rev 101464, libpinyin/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2013-11-26 07:54:09 UTC (rev 101465)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Yangtse <yangtsesu at gmail.com> 
+# Contributor: WU Jun <quark at lihdd dot net>
+
+pkgname=libpinyin
+pkgver=1.0.0
+_modelver=7
+pkgrel=1
+pkgdesc="Library to deal with pinyin"
+arch=('i686' 'x86_64')
+url="https://github.com/libpinyin/libpinyin"
+license=('GPL')
+depends=('db' 'glib2')
+makedepends=('git')
+source=("git+https://github.com/$pkgname/${pkgname}.git#tag=$pkgver"
+        "http://downloads.sourceforge.net/libpinyin/model${_modelver}.text.tar.gz")
+noextract=("model${_modelver}.text.tar.gz")
+
+build() {
+  cd ${pkgname}
+
+  cp ../model${_modelver}.text.tar.gz data/
+  sed -i "/wget.*model${_modelver}\.text\.tar\.gz/ d" data/Makefile.am
+
+  aclocal && libtoolize --force && autoheader && automake -a && autoconf
+  ./configure --prefix=/usr && make
+}
+
+package() {
+  cd ${pkgname}
+  make DESTDIR="${pkgdir}" install
+}
+
+sha512sums=('SKIP'
+            '74a56a23cdca24124037f688ed85a921089155a1b9a0b61e646f805b2bb698c56682c5d6a47ff86657c8b131a831dbee9d5cc5165d4c1f235b77fcd5b2e480ad')




More information about the arch-commits mailing list