Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/protobuf
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-08-30 05:35:37 +0300
committerTasos Sahanidis <tasos@tasossah.com>2024-08-30 05:35:37 +0300
commit2fa072c9b85c7702bd87f3a2e1099d525bbddf4d (patch)
treed802d3f2627f7317f0ad2f2aee8302dc6fa9c51b /extra/protobuf
parent3c3f0b046bc0c75c6a57190d8c024032887a33a9 (diff)
extra/protobuf: Fix patch checksum and python patch
Diffstat (limited to 'extra/protobuf')
-rw-r--r--extra/protobuf/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/protobuf/PKGBUILD b/extra/protobuf/PKGBUILD
index 585863fe..aa67b1db 100644
--- a/extra/protobuf/PKGBUILD
+++ b/extra/protobuf/PKGBUILD
@@ -16,6 +16,10 @@ sha512sums+=("SKIP")
makedepends=(${makedepends[@]//bazel/})
eval "$(
- declare -f build | sed '/bazel build/d' | sed '$ d' | sed '$ a cd "../protobuf-5.${pkgver}"; python -m build --wheel --no-isolation ; }'
+ declare -f build | sed '/bazel build/d' | sed '$ d' | sed '$ a cd "$srcdir/protobuf-5.${pkgver}"; python -m build --wheel --no-isolation ; }'
declare -f package_python-protobuf | sed 's@ \".*bazel-bin/python@ \"protobuf-5.${pkgver}\"@'
)"
+
+if [[ $pkgver == "27.3" ]]; then
+ sha512sums[1]='18bc71031bbcbc3810a9985fa670465040f06a6c104ab8079b56bdfc499bb6cec40805a0cefd455031142490a576dc60aa8000523877ac0353b93558e9beabbd'
+fi