diff options
author | Michel Zou | 2022-06-14 19:03:49 +0200 |
---|---|---|
committer | Michel Zou | 2022-06-14 19:03:49 +0200 |
commit | 6580cd6420ba3b5763731206b6ceb3f796d1ed70 (patch) | |
tree | ef68d4884882de896a1ef22b3e5cfeca61ef68a8 | |
parent | f747144a4ce596e1e23f4d54c37ef1475b1f7f33 (diff) | |
download | aur-6580cd6420ba3b5763731206b6ceb3f796d1ed70.tar.gz |
21.1
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 11 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-protobuf pkgdesc = Protocol Buffers - Google's data interchange format (mingw-w64) - pkgver = 3.20.1 - pkgrel = 2 + pkgver = 21.1 + pkgrel = 1 url = https://developers.google.com/protocol-buffers/ arch = any license = BSD @@ -12,7 +12,7 @@ pkgbase = mingw-w64-protobuf options = !strip options = !buildflags options = staticlibs - source = https://github.com/protocolbuffers/protobuf/releases/download/v3.20.1/protobuf-all-3.20.1.tar.gz - sha256sums = 3a400163728db996e8e8d21c7dfb3c239df54d0813270f086c4030addeae2fad + source = https://github.com/protocolbuffers/protobuf/releases/download/v21.1/protobuf-all-21.1.tar.gz + sha256sums = ad22f1624e237c0b3d362f78de7d96bf88b78d1fe19ae5dfa528a27306c7aaad pkgname = mingw-w64-protobuf @@ -1,7 +1,8 @@ pkgname=('mingw-w64-protobuf') _pkgname=protobuf -pkgver=3.20.1 -pkgrel=2 +pkgver=21.1 +_pkgver=3.$pkgver +pkgrel=1 pkgdesc="Protocol Buffers - Google's data interchange format (mingw-w64)" arch=('any') url='https://developers.google.com/protocol-buffers/' @@ -10,17 +11,16 @@ depends=(mingw-w64-zlib) makedepends=(mingw-w64-configure protobuf unzip) options=(!strip !buildflags staticlibs) source=("https://github.com/protocolbuffers/${_pkgname}/releases/download/v$pkgver/${_pkgname}-all-$pkgver.tar.gz") -sha256sums=('3a400163728db996e8e8d21c7dfb3c239df54d0813270f086c4030addeae2fad') +sha256sums=('ad22f1624e237c0b3d362f78de7d96bf88b78d1fe19ae5dfa528a27306c7aaad') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" prepare() { - cd ${srcdir}/${_pkgname}-${pkgver} - curl -L https://github.com/protocolbuffers/protobuf/pull/9936.patch | patch -p1 + cd ${srcdir}/${_pkgname}-${_pkgver} } build() { - cd ${srcdir}/${_pkgname}-${pkgver} + cd ${srcdir}/${_pkgname}-${_pkgver} ./autogen.sh for _arch in ${_architectures}; do mkdir -p build-${_arch} && pushd build-${_arch} @@ -32,7 +32,7 @@ build() { package() { for _arch in ${_architectures}; do - cd "${srcdir}"/${_pkgname}-${pkgver}/build-${_arch} + 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 |