2018-12-18 02:08:53 +01:00
|
|
|
#!/usr/bin/env bash
|
2022-04-30 00:13:04 +02:00
|
|
|
set -euxo pipefail
|
2018-12-17 20:21:49 +01:00
|
|
|
|
2022-04-30 00:13:04 +02:00
|
|
|
version="2.3.6"
|
|
|
|
sha256=fc68a66a216e304bb0e2ef627f767fff528f4fbf2bbda27e8cd8db1b7ba090b0
|
2018-12-17 20:21:49 +01:00
|
|
|
|
2022-04-30 00:13:04 +02:00
|
|
|
tmpdir="$(mktemp -d)"
|
|
|
|
trap 'rm -r "$tmpdir"' EXIT
|
|
|
|
cd "$tmpdir"
|
|
|
|
tarball="pgroonga-$version.tar.gz"
|
|
|
|
curl -fLO "https://packages.groonga.org/source/pgroonga/$tarball"
|
|
|
|
sha256sum -c <<<"$sha256 $tarball"
|
|
|
|
tar -xzf "$tarball"
|
|
|
|
cd "pgroonga-$version"
|
2018-12-17 20:21:49 +01:00
|
|
|
|
2022-04-30 00:13:04 +02:00
|
|
|
make -j "$(nproc)" HAVE_MSGPACK=1
|
2018-12-17 20:21:49 +01:00
|
|
|
make install
|