updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / protobuf-c / PKGBUILD
blobaebb99623a9c3b6b48007a99da72b4f321eae4c9
1 # Maintainer: AurĂ©lien Wailly <aurelien.wailly@gmail.com>
3 pkgname=protobuf-c
4 pkgver=0.15
5 pkgrel=3
6 pkgdesc="C bindings for Google's Protocol Buffers"
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/protobuf-c/"
9 license=('Apache')
10 depends=('protobuf')
11 options=(!libtool)
12 source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
13 md5sums=('73ff0c8df50d2eee75269ad8f8c07dc8')
15 build() {
16         cd "$srcdir/$pkgname-$pkgver"
17         ./configure --prefix=/usr --disable-static
18         # if you have compiling problems, uncomment the following line
19         # export MAKEFLAGS=-j1
20         make check
23 package() {
24         cd "$srcdir/$pkgname-$pkgver"
25         make DESTDIR="$pkgdir" install