[arch-commits] Commit in libpinyin/repos (4 files)
Felix Yan
fyan at nymeria.archlinux.org
Tue Aug 6 06:51:16 UTC 2013
Date: Tuesday, August 6, 2013 @ 08:51:16
Author: fyan
Revision: 95136
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 95135, libpinyin/trunk/PKGBUILD)
libpinyin/repos/community-staging-x86_64/
libpinyin/repos/community-staging-x86_64/PKGBUILD
(from rev 95135, libpinyin/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: libpinyin/repos/community-staging-i686/PKGBUILD (from rev 95135, libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-08-06 06:51:16 UTC (rev 95136)
@@ -0,0 +1,34 @@
+# $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=0.9.93
+pkgrel=2
+pkgdesc="Library to deal with pinyin"
+arch=('i686' 'x86_64')
+url="https://github.com/libpinyin/libpinyin"
+license=('GPL')
+depends=('db' 'glib2')
+options=(!libtool)
+source=("https://github.com/libpinyin/libpinyin/archive/${pkgver}.tar.gz"
+ "http://downloads.sourceforge.net/libpinyin/model6.text.tar.gz")
+noextract=("model6.text.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ cp "${srcdir}/model6.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/"
+ sed -i '/wget.*model6\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am
+
+ aclocal && libtoolize --force && autoheader && automake -a && autoconf
+ ./configure --prefix=/usr && make
+}
+
+package() {
+ cd "${srcdir}/libpinyin-$pkgver"
+ make DESTDIR="${pkgdir}" install
+}
+sha512sums=('7214c7913ed116a5557e89958d0d117e7a2781dcbbcc8b1c6713fb569ca121a5763e5cf1dedfdb4607638f773875c374112865d3a306876906a126954c4ef387'
+ '8719d99b2efb22438ec067c046f8d45addb3e0d336e8d6ec4b8ed22370fe81366d19a34934bb059230f86e74c379acb62822ee3458850437880d531de8ff3e0e')
Copied: libpinyin/repos/community-staging-x86_64/PKGBUILD (from rev 95135, libpinyin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-08-06 06:51:16 UTC (rev 95136)
@@ -0,0 +1,34 @@
+# $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=0.9.93
+pkgrel=2
+pkgdesc="Library to deal with pinyin"
+arch=('i686' 'x86_64')
+url="https://github.com/libpinyin/libpinyin"
+license=('GPL')
+depends=('db' 'glib2')
+options=(!libtool)
+source=("https://github.com/libpinyin/libpinyin/archive/${pkgver}.tar.gz"
+ "http://downloads.sourceforge.net/libpinyin/model6.text.tar.gz")
+noextract=("model6.text.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ cp "${srcdir}/model6.text.tar.gz" "${srcdir}/${pkgname}-${pkgver}/data/"
+ sed -i '/wget.*model6\.text\.tar\.gz/ d' ${srcdir}/${pkgname}-${pkgver}/data/Makefile.am
+
+ aclocal && libtoolize --force && autoheader && automake -a && autoconf
+ ./configure --prefix=/usr && make
+}
+
+package() {
+ cd "${srcdir}/libpinyin-$pkgver"
+ make DESTDIR="${pkgdir}" install
+}
+sha512sums=('7214c7913ed116a5557e89958d0d117e7a2781dcbbcc8b1c6713fb569ca121a5763e5cf1dedfdb4607638f773875c374112865d3a306876906a126954c4ef387'
+ '8719d99b2efb22438ec067c046f8d45addb3e0d336e8d6ec4b8ed22370fe81366d19a34934bb059230f86e74c379acb62822ee3458850437880d531de8ff3e0e')
More information about the arch-commits
mailing list