[arch-commits] Commit in libpinyin/repos (4 files)
Felix Yan
fyan at archlinux.org
Sat Feb 7 14:58:56 UTC 2015
Date: Saturday, February 7, 2015 @ 15:58:56
Author: fyan
Revision: 127248
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
libpinyin/repos/community-staging-i686/
libpinyin/repos/community-staging-i686/PKGBUILD
(from rev 127247, libpinyin/trunk/PKGBUILD)
libpinyin/repos/community-staging-x86_64/
libpinyin/repos/community-staging-x86_64/PKGBUILD
(from rev 127247, libpinyin/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: libpinyin/repos/community-staging-i686/PKGBUILD (from rev 127247, libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-02-07 14:58:56 UTC (rev 127248)
@@ -0,0 +1,35 @@
+# $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.99.20150203
+_modelver=8
+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")
+sha512sums=('SKIP'
+ '6d40f6f633f82664226a5219bd34b94904df0277d80b0d2005904ac075d983df6d7071da7f20eea7fd8c5ce777443f725b6ce32b34f910faa1e557873610db80')
+
+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
+}
Copied: libpinyin/repos/community-staging-x86_64/PKGBUILD (from rev 127247, libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-02-07 14:58:56 UTC (rev 127248)
@@ -0,0 +1,35 @@
+# $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.99.20150203
+_modelver=8
+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")
+sha512sums=('SKIP'
+ '6d40f6f633f82664226a5219bd34b94904df0277d80b0d2005904ac075d983df6d7071da7f20eea7fd8c5ce777443f725b6ce32b34f910faa1e557873610db80')
+
+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
+}
More information about the arch-commits
mailing list