summaryrefslogtreecommitdiff
path: root/community/protobuf
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-12 11:21:01 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-12 11:21:01 -0300
commitb337b14a9cce5d126d55695c97698484ac52a8ea (patch)
tree8aa6281e14d6bd9b0876ae0e641d76de9e51cce0 /community/protobuf
parent66873986693bc3c8812d12f3919f1977b9a30674 (diff)
parent079c689ef9b252fd82dbf9b182ec2517c48f8737 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/conkeror-git/PKGBUILD community/spidermonkey/PKGBUILD core/gcc/PKGBUILD extra/file-roller/PKGBUILD extra/pixman/PKGBUILD extra/poppler/PKGBUILD extra/qtiplot/PKGBUILD extra/xulrunner/PKGBUILD extra/xulrunner/xulrunner-omnijar.patch kde-unstable/akonadi/PKGBUILD multilib-testing/lib32-mesa/PKGBUILD multilib/gcc-multilib/PKGBUILD testing/mesa/PKGBUILD
Diffstat (limited to 'community/protobuf')
-rw-r--r--community/protobuf/PKGBUILD24
1 files changed, 17 insertions, 7 deletions
diff --git a/community/protobuf/PKGBUILD b/community/protobuf/PKGBUILD
index a4c826f8a..739463982 100644
--- a/community/protobuf/PKGBUILD
+++ b/community/protobuf/PKGBUILD
@@ -2,26 +2,36 @@
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
-pkgname=protobuf
-pkgver=2.4.0a
+pkgbase=protobuf
+pkgname=('protobuf' 'protobuf-python')
+pkgver=2.4.1
pkgrel=1
pkgdesc="A way of encoding structured data in an efficient yet extensible format"
arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/protobuf/"
license=('APACHE')
depends=('gcc-libs' 'zlib')
+makedepends=('python2' 'setuptools')
options=(!libtool)
source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
-md5sums=('61df3f63ec284fc6f57a68c67e4918c6')
+md5sums=('ed436802019c9e1f40cc750eaf78f318')
build() {
cd $srcdir/$pkgname-$pkgver
- ./autogen.sh
- ./configure --prefix=/usr --disable-static
+ ./autogen.sh
+ ./configure --prefix=/usr --disable-static
}
-package() {
+package_protobuf() {
cd $srcdir/$pkgname-$pkgver
-
make DESTDIR=$pkgdir install
}
+
+package_protobuf-python() {
+ pkgdesc="protobuf python API"
+# arch=('any')
+ depends=("python2" "protobuf=${pkgver}")
+
+ cd $srcdir/protobuf-$pkgver/python
+ python2 setup.py install --prefix=/usr --root $pkgdir
+}