[arch-commits] Commit in pyzy/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 6 17:21:12 UTC 2015
Date: Sunday, December 6, 2015 @ 18:21:11
Author: foutrelis
Revision: 148964
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
pyzy/repos/community-staging-i686/
pyzy/repos/community-staging-i686/PKGBUILD
(from rev 148963, pyzy/trunk/PKGBUILD)
pyzy/repos/community-staging-x86_64/
pyzy/repos/community-staging-x86_64/PKGBUILD
(from rev 148963, pyzy/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
Copied: pyzy/repos/community-staging-i686/PKGBUILD (from rev 148963, pyzy/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 17:21:11 UTC (rev 148964)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Kerrick Staley <mail at kerrickstaley.com>
+
+pkgname=pyzy
+pkgver=1.0
+_commit="d7747466562cb8b4bc2934708e29b7643c7bedbc"
+pkgrel=3
+pkgdesc='The Chinese PinYin and Bopomofo conversion library'
+arch=('i686' 'x86_64')
+url='https://github.com/pyzy/pyzy'
+license=('LGPL')
+depends=('glib2' 'sqlite' 'util-linux')
+makedepends=('git' 'doxygen' 'gnome-common' 'python2')
+source=("git://github.com/pyzy/pyzy.git#commit=$_commit")
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname
+
+ # replace python with python2; see https://github.com/hsumita/libpyzy/issues/1
+ find . -name '*.py' -exec sed -ri '1s#(bin/|env )python#\1python2#' '{}' \;
+
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ make DESTDIR="$pkgdir" install
+}
Copied: pyzy/repos/community-staging-x86_64/PKGBUILD (from rev 148963, pyzy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 17:21:11 UTC (rev 148964)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Kerrick Staley <mail at kerrickstaley.com>
+
+pkgname=pyzy
+pkgver=1.0
+_commit="d7747466562cb8b4bc2934708e29b7643c7bedbc"
+pkgrel=3
+pkgdesc='The Chinese PinYin and Bopomofo conversion library'
+arch=('i686' 'x86_64')
+url='https://github.com/pyzy/pyzy'
+license=('LGPL')
+depends=('glib2' 'sqlite' 'util-linux')
+makedepends=('git' 'doxygen' 'gnome-common' 'python2')
+source=("git://github.com/pyzy/pyzy.git#commit=$_commit")
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname
+
+ # replace python with python2; see https://github.com/hsumita/libpyzy/issues/1
+ find . -name '*.py' -exec sed -ri '1s#(bin/|env )python#\1python2#' '{}' \;
+
+ ./autogen.sh --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list