Date: Monday, April 1, 2013 @ 10:51:06
  Author: svenstaro
Revision: 87466

upgpkg: protobuf 2.5.0-2

Rename protobuf-python to python2-protobuf

Modified:
  protobuf/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-04-01 08:40:31 UTC (rev 87465)
+++ PKGBUILD    2013-04-01 08:51:06 UTC (rev 87466)
@@ -4,9 +4,9 @@
 # Contributor: Daniel J Griffiths <[email protected]>
 
 pkgbase=protobuf
-pkgname=('protobuf' 'protobuf-python')
+pkgname=('protobuf' 'python2-protobuf')
 pkgver=2.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A way of encoding structured data in an efficient yet extensible 
format"
 arch=('i686' 'x86_64')
 url="http://code.google.com/p/protobuf/";
@@ -28,10 +28,10 @@
        make DESTDIR=$pkgdir install
 }
 
-package_protobuf-python() {
+package_python2-protobuf() {
        pkgdesc="protobuf python API"
-#      arch=('any')
        depends=("python2" "protobuf=${pkgver}")
+    replaces=("protobuf-python")
 
        cd $srcdir/protobuf-$pkgver/python
        python2 setup.py install --prefix=/usr --root $pkgdir

Reply via email to