PKGBUILDs/aur/protobuf-c/PKGBUILD

27 lines
580 B
Bash
Raw Normal View History

2011-06-11 04:28:43 +00:00
# Maintainer: Aurélien Wailly <aurelien.wailly@gmail.com>
plugrel=1
pkgname=protobuf-c
pkgver=0.15
pkgrel=2
pkgdesc="C bindings for Google's Protocol Buffers"
arch=('i686' 'x86_64')
url="http://code.google.com/p/protobuf-c/"
license=('Apache')
depends=('protobuf')
options=(!libtool)
source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('73ff0c8df50d2eee75269ad8f8c07dc8')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr --disable-static
make check
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}