diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/timescaledb/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/timescaledb/APKBUILD b/testing/timescaledb/APKBUILD new file mode 100644 index 0000000000..b4e536d4f4 --- /dev/null +++ b/testing/timescaledb/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: wener <wenermail@gmail.com> +# Maintainer: wener <wenermail@gmail.com> +pkgname="timescaledb" +pkgver="1.3.2" +pkgrel=0 +pkgdesc="An open-source database designed to make SQL scalable for time-series data" +url="https://github.com/timescale/timescaledb" +arch="all" +license="Apache-2.0" +makedepends="postgresql-dev cmake bash" +source="$pkgname-$pkgver.tar.gz::https://github.com/timescale/timescaledb/archive/$pkgver.tar.gz" + +build() { + BUILD_FORCE_REMOVE=true ./bootstrap + make -C build USE-PGXS=1 +} + +check() { + make -C build test +} + +package() { + make -C build USE_PGXS=1 DESTDIR="$pkgdir" install +} + +sha512sums="9dd17fafd1b327893d2ff1ce86ae4c41e1248d8c1f502de064e8cce04335fa321610bb5d7d399fdaa8ec07c9e56ea520100ecbe320ea109c6a59b87a7c2d93f7 timescaledb-1.3.2.tar.gz" |