[arch-commits] Commit in protobuf/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Aug 12 11:49:10 UTC 2014
Date: Tuesday, August 12, 2014 @ 13:49:09
Author: bpiotrowski
Revision: 219620
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
protobuf/repos/extra-i686/
protobuf/repos/extra-i686/PKGBUILD
(from rev 219619, protobuf/trunk/PKGBUILD)
protobuf/repos/extra-x86_64/
protobuf/repos/extra-x86_64/PKGBUILD
(from rev 219619, protobuf/trunk/PKGBUILD)
-----------------------+
extra-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: protobuf/repos/extra-i686/PKGBUILD (from rev 219619, protobuf/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2014-08-12 11:49:09 UTC (rev 219620)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgbase=protobuf
+pkgname=('protobuf' 'python2-protobuf')
+pkgver=2.5.0
+pkgrel=4
+pkgdesc="A way of encoding structured data in an efficient yet extensible format"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/protobuf/"
+license=('APACHE')
+depends=('gcc-libs' 'zlib')
+makedepends=('python2' 'setuptools')
+source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
+md5sums=('a72001a9067a4c2c4e0e836d0f92ece4')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr --disable-static
+}
+
+package_protobuf() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
+
+package_python2-protobuf() {
+ pkgdesc="protobuf python API"
+ depends=("python2" "protobuf=${pkgver}")
+ provides=("protobuf-python")
+ conflicts=("protobuf-python")
+ replaces=("protobuf-python")
+
+ cd $srcdir/protobuf-$pkgver/python
+ python2 setup.py install --prefix=/usr --root $pkgdir
+}
Copied: protobuf/repos/extra-x86_64/PKGBUILD (from rev 219619, protobuf/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2014-08-12 11:49:09 UTC (rev 219620)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+# Contributor: Geoffroy Carrier <geoffroy at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgbase=protobuf
+pkgname=('protobuf' 'python2-protobuf')
+pkgver=2.5.0
+pkgrel=4
+pkgdesc="A way of encoding structured data in an efficient yet extensible format"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/protobuf/"
+license=('APACHE')
+depends=('gcc-libs' 'zlib')
+makedepends=('python2' 'setuptools')
+source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
+md5sums=('a72001a9067a4c2c4e0e836d0f92ece4')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./autogen.sh
+ ./configure --prefix=/usr --disable-static
+}
+
+package_protobuf() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
+
+package_python2-protobuf() {
+ pkgdesc="protobuf python API"
+ depends=("python2" "protobuf=${pkgver}")
+ provides=("protobuf-python")
+ conflicts=("protobuf-python")
+ replaces=("protobuf-python")
+
+ cd $srcdir/protobuf-$pkgver/python
+ python2 setup.py install --prefix=/usr --root $pkgdir
+}
More information about the arch-commits
mailing list