summaryrefslogtreecommitdiff
path: root/community/protobuf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/protobuf/PKGBUILD')
-rw-r--r--community/protobuf/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/protobuf/PKGBUILD b/community/protobuf/PKGBUILD
index 151c95412..d86e9c13f 100644
--- a/community/protobuf/PKGBUILD
+++ b/community/protobuf/PKGBUILD
@@ -4,9 +4,9 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
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 @@ package_protobuf() {
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