[arch-commits] Commit in libpinyin/repos (4 files)
Felix Yan
fyan at archlinux.org
Sat Feb 7 14:46:09 UTC 2015
Date: Saturday, February 7, 2015 @ 15:46:09
Author: fyan
Revision: 127245
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libpinyin/repos/staging-i686/
libpinyin/repos/staging-i686/PKGBUILD
(from rev 127244, libpinyin/trunk/PKGBUILD)
libpinyin/repos/staging-x86_64/
libpinyin/repos/staging-x86_64/PKGBUILD
(from rev 127244, libpinyin/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: libpinyin/repos/staging-i686/PKGBUILD (from rev 127244, libpinyin/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-02-07 14:46:09 UTC (rev 127245)
@@ -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/staging-x86_64/PKGBUILD (from rev 127244, libpinyin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-02-07 14:46:09 UTC (rev 127245)
@@ -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