# Contributor: TBK # Maintainer: Leonardo Arena pkgname=protobuf-c pkgver=1.3.0 pkgrel=6 pkgdesc="C bindings for Google's Protocol Buffers" url="https://github.com/protobuf-c/protobuf-c/wiki" arch="all" license="BSD-2-Clause" makedepends="protobuf-dev" subpackages="$pkgname-dev" source="https://github.com/protobuf-c/protobuf-c/releases/download/v$pkgver/protobuf-c-$pkgver.tar.gz add-std-to-some-types.patch fix-build-with-protobuf-3.6.x.patch " builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="ba49bf45a9ae93d41f200f4f18c4f9469c63fcc2a2392b3b45f083c378a6876891890448ceba216083ad351aa35f4669cd920973f53e5780de9ec4c8f61279bb protobuf-c-1.3.0.tar.gz 932452cb11b6567977a1788d971db3b6895d274c95806ca1c89336bbfc857eb3aa6d6e8684e9120962f392d63018554003c04ade07e6ec5b10d423cc7832245d add-std-to-some-types.patch 77af7f7d9ae3f3b86995cbe46233cb18e0d3ecfbe6e46a0dac3da479768c236796d88b986df376bfcfe76d7eaa603b28aefb048115d552dfaa8d47c0b302cf69 fix-build-with-protobuf-3.6.x.patch"