Date: Sunday, June 12, 2022 @ 07:56:53 Author: grawlinson Revision: 1236134
upgpkg: timescaledb 2.7.0-1 * New upstream release. * New optdepends: timescaledb-old-upgrade. Modified: timescaledb/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-06-12 07:30:59 UTC (rev 1236133) +++ PKGBUILD 2022-06-12 07:56:53 UTC (rev 1236134) @@ -3,24 +3,27 @@ # Contributor: Felix Fung <[email protected]> pkgname=timescaledb -_commit=9ae47c6802b6ad4a6e13d243e4d5cc2e4119affb +_commit=7d3c092d21b7ce476e3c0cd8f5c8944695746d3d # limit to last 5 releases _versions=( - 2.5.0 2.5.1 2.5.2 2.6.0 - 2.6.1 # current ts version + 2.6.1 + 2.7.0 # current ts version ) pkgver="${_versions[-1]}" -pkgrel=3 -pkgdesc="An open-source time-series database optimized for fast ingest and complex queries" +pkgrel=1 +pkgdesc='An open-source time-series database optimized for fast ingest and complex queries' arch=('x86_64') -url="https://www.timescale.com/" +url='https://www.timescale.com/' license=('Apache' 'custom:Timescale') depends=('postgresql<15' 'postgresql-libs<15' 'openssl') makedepends=('gcc' 'cmake' 'git') -optdepends=('timescaledb-tune: tune postgresql.conf for better performance') +optdepends=( + 'timescaledb-tune: tune postgresql.conf for better performance' + 'timescaledb-old-upgrade: upgrade from previous major version of PostgreSQL' +) install=timescaledb.install source=("$pkgname::git+https://github.com/timescale/timescaledb#commit=$_commit") sha512sums=('SKIP') @@ -32,7 +35,9 @@ build() { for version in "${_versions[@]}"; do cd "$srcdir/$pkgname" + git checkout "$version" + BUILD_DIR="$srcdir/build/$version" ./bootstrap \ -DWARNINGS_AS_ERRORS=OFF \ -DREGRESS_CHECKS=OFF \ @@ -42,7 +47,7 @@ # build package or past shared library cd "$srcdir/build/$version" - # temporarily ensure reproducible builds (value from `lsb_release -r`) + # ensure reproducible builds (value from `lsb_release -r`) # TODO: resolve https://github.com/timescale/timescaledb/issues/3480 sed \ -e "s:BUILD_OS_VERSION \".*\"$:BUILD_OS_VERSION \"rolling\":" \
