PKGBUILDs/community/protobuf/PKGBUILD

22 lines
660 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=protobuf
pkgver=2.2.0
pkgrel=1
pkgdesc="A way of encoding structured data in an efficient yet extensible format"
url="http://code.google.com/p/protobuf/"
license=('Apache')
arch=('i686' 'x86_64')
depends=('gcc-libs' 'zlib')
options=(!libtool)
source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
md5sums=('5c8abb579721fc3af7c94fb2019c4d2e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./autogen.sh || return 1
./configure --prefix=/usr --disable-static || return 1
make DESTDIR=${pkgdir} install || return 1
}