summaryrefslogtreecommitdiff
path: root/community/protobuf-c/PKGBUILD
blob: 325077e30eb83024543110279b423ab371ea5bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 101362 2013-11-23 15:09:26Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: Aurélien Wailly <aurelien.wailly@gmail.com>

pkgname=protobuf-c
pkgver=0.15
pkgrel=3
pkgdesc='Protocol Buffers implementation in C'
arch=('i686' 'x86_64')
url='https://github.com/protobuf-c/protobuf-c'
license=('BSD')
depends=('protobuf')
source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('73ff0c8df50d2eee75269ad8f8c07dc8')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static
}

check() {
  cd $pkgname-$pkgver
  make check
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}