[arch-commits] Commit in pyzy/repos (4 files)
Felix Yan
fyan at nymeria.archlinux.org
Tue Jul 1 07:48:11 UTC 2014
Date: Tuesday, July 1, 2014 @ 09:48:10
Author: fyan
Revision: 113874
archrelease: copy trunk to community-i686, community-x86_64
Added:
pyzy/repos/community-i686/PKGBUILD
(from rev 113873, pyzy/trunk/PKGBUILD)
pyzy/repos/community-x86_64/PKGBUILD
(from rev 113873, pyzy/trunk/PKGBUILD)
Deleted:
pyzy/repos/community-i686/PKGBUILD
pyzy/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 64 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 48 ---------------------------------
community-x86_64/PKGBUILD | 48 ---------------------------------
3 files changed, 64 insertions(+), 96 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-07-01 07:46:35 UTC (rev 113873)
+++ community-i686/PKGBUILD 2014-07-01 07:48:10 UTC (rev 113874)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Kerrick Staley <mail at kerrickstaley.com>
-
-pkgname=pyzy
-pkgver=1.0
-_commit="d7747466562cb8b4bc2934708e29b7643c7bedbc"
-pkgrel=1
-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')
-
-__gitroot=git://github.com/pyzy/pyzy.git
-__gitname=$pkgname
-
-build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [ -d $__gitname ] ; then
- cd $__gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $__gitroot
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
-
- rm -rf "$srcdir/$__gitname-build"
- git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
- cd "$srcdir/$__gitname-build"
- git checkout "$_commit"
-
- # 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/$__gitname-build"
-
- make DESTDIR="$pkgdir" install
-}
Copied: pyzy/repos/community-i686/PKGBUILD (from rev 113873, pyzy/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-07-01 07:48:10 UTC (rev 113874)
@@ -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=2
+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
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2014-07-01 07:46:35 UTC (rev 113873)
+++ community-x86_64/PKGBUILD 2014-07-01 07:48:10 UTC (rev 113874)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at gmail.com>
-# Contributor: Kerrick Staley <mail at kerrickstaley.com>
-
-pkgname=pyzy
-pkgver=1.0
-_commit="d7747466562cb8b4bc2934708e29b7643c7bedbc"
-pkgrel=1
-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')
-
-__gitroot=git://github.com/pyzy/pyzy.git
-__gitname=$pkgname
-
-build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [ -d $__gitname ] ; then
- cd $__gitname && git pull origin
- msg "The local files are updated."
- else
- git clone $__gitroot
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting make..."
-
- rm -rf "$srcdir/$__gitname-build"
- git clone "$srcdir/$__gitname" "$srcdir/$__gitname-build"
- cd "$srcdir/$__gitname-build"
- git checkout "$_commit"
-
- # 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/$__gitname-build"
-
- make DESTDIR="$pkgdir" install
-}
Copied: pyzy/repos/community-x86_64/PKGBUILD (from rev 113873, pyzy/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-07-01 07:48:10 UTC (rev 113874)
@@ -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=2
+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