added aur/protobuf-c for real

This commit is contained in:
Kevin Mihelich 2011-06-11 00:28:43 -04:00
parent ba7d948003
commit 934d0aae60

26
aur/protobuf-c/PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# 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
}