Package Details: mingw-w64-protobuf 3.4.0-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-protobuf.git (read-only)
Package Base: mingw-w64-protobuf
Description: Protocol Buffers - Google's data interchange format (mingw-w64)
Upstream URL: https://developers.google.com/protocol-buffers/
Licenses: BSD
Submitter: Schala
Maintainer: xantares
Last Packager: xantares
Votes: 3
Popularity: 0.000024
First Submitted: 2013-04-01 09:32
Last Updated: 2017-08-23 06:17

Latest Comments

Schala commented on 2017-04-30 07:39

/startdir/PKGBUILD: line 23: i686-w64-mingw32-configure: command not found

xantares commented on 2017-02-16 12:48

Hello, here's an updated PKGBUILD:

# Maintainer: Benoit Favre <benoit.favre@gmail.com>

pkgname=('mingw-w64-protobuf')
_pkgname=protobuf
pkgver=3.2.0
pkgrel=1
pkgdesc="Protocol Buffers - Google's data interchange format (mingw-w64)"
arch=('any')
url='https://developers.google.com/protocol-buffers/'
license=('BSD')
depends=('mingw-w64-crt' 'mingw-w64-zlib')
makedepends=('mingw-w64-gcc' 'protobuf')
options=(!strip !buildflags staticlibs)
source=("https://github.com/google/protobuf/releases/download/v${pkgver}/protobuf-cpp-${pkgver}.tar.gz")
md5sums=('46ab34b63ac77c02d4351961f6f85ded')

_architectures="i686-w64-mingw32 x86_64-w64-mingw32"

build() {
cd ${srcdir}/${_pkgname}-${pkgver}
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}
${_arch}-configure --with-protoc=/usr/bin/protoc ..
make
popd
done
}

package() {
for _arch in ${_architectures}; do
cd "${srcdir}"/${_pkgname}-${pkgver}/build-${_arch}
make DESTDIR="$pkgdir" install
rm "${pkgdir}"/usr/${_arch}/bin/*.exe
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done
}

Schala commented on 2016-07-25 02:10

Not sure why the license file is necessary, considering most if not all of those who use this also have the native package, which already has it.