Date: Sunday, May 7, 2017 @ 00:40:21 Author: bisson Revision: 295401 archrelease: copy trunk to staging-i686, staging-x86_64
Added: protobuf-c/repos/staging-i686/ protobuf-c/repos/staging-i686/PKGBUILD (from rev 295400, protobuf-c/trunk/PKGBUILD) protobuf-c/repos/staging-x86_64/ protobuf-c/repos/staging-x86_64/PKGBUILD (from rev 295400, protobuf-c/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) Copied: protobuf-c/repos/staging-i686/PKGBUILD (from rev 295400, protobuf-c/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-05-07 00:40:21 UTC (rev 295401) @@ -0,0 +1,31 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Aurélien Wailly <aurelien.wai...@gmail.com> + +pkgname=protobuf-c +pkgver=1.2.1 +pkgrel=6 +pkgdesc='Protocol Buffers implementation in C' +arch=('i686' 'x86_64') +url='https://github.com/protobuf-c/protobuf-c' +license=('BSD') +depends=('protobuf') +provides=('libprotobuf-c.so') +source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('e544249c329391fff512c3874895cfbe') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --disable-static + make +} + +check() { + make -C "$pkgname-$pkgver" check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Copied: protobuf-c/repos/staging-x86_64/PKGBUILD (from rev 295400, protobuf-c/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2017-05-07 00:40:21 UTC (rev 295401) @@ -0,0 +1,31 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: Aurélien Wailly <aurelien.wai...@gmail.com> + +pkgname=protobuf-c +pkgver=1.2.1 +pkgrel=6 +pkgdesc='Protocol Buffers implementation in C' +arch=('i686' 'x86_64') +url='https://github.com/protobuf-c/protobuf-c' +license=('BSD') +depends=('protobuf') +provides=('libprotobuf-c.so') +source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('e544249c329391fff512c3874895cfbe') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr --disable-static + make +} + +check() { + make -C "$pkgname-$pkgver" check +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}