[arch-commits] Commit in timescaledb/repos (3 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Mar 19 05:55:25 UTC 2021
Date: Friday, March 19, 2021 @ 05:55:25
Author: svenstaro
Revision: 894539
archrelease: copy trunk to community-x86_64
Added:
timescaledb/repos/community-x86_64/
timescaledb/repos/community-x86_64/PKGBUILD
(from rev 894538, timescaledb/trunk/PKGBUILD)
timescaledb/repos/community-x86_64/timescaledb.install
(from rev 894538, timescaledb/trunk/timescaledb.install)
---------------------+
PKGBUILD | 26 ++++++++++++++++++++++++++
timescaledb.install | 15 +++++++++++++++
2 files changed, 41 insertions(+)
Copied: timescaledb/repos/community-x86_64/PKGBUILD (from rev 894538, timescaledb/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-03-19 05:55:25 UTC (rev 894539)
@@ -0,0 +1,26 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Felix Fung <fylixeoi at gmail.com>
+
+pkgname=timescaledb
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="An open-source time-series database optimized for fast ingest and complex queries."
+arch=('x86_64')
+url="https://www.timescale.com/"
+license=('Apache')
+depends=('postgresql' 'postgresql-libs')
+makedepends=('gcc' 'cmake')
+install=timescaledb.install
+source=("https://github.com/timescale/timescaledb/releases/download/${pkgver}/timescaledb-${pkgver}.tar.lzma")
+sha512sums=('22c72b6ae6bafc37269168d42089816735ee812d0f3c53642ad453c89b984cabdc5ea5aeb10320ba12478e9baae5356c7984b773b61e18a2aed99c6657cda464')
+
+build() {
+ cd "${pkgname}"
+ ./bootstrap -DWARNINGS_AS_ERRORS=OFF -DREGRESS_CHECKS=OFF
+ cd build && make
+}
+
+package() {
+ cd "${pkgname}/build"
+ make DESTDIR="$pkgdir/" install
+}
Copied: timescaledb/repos/community-x86_64/timescaledb.install (from rev 894538, timescaledb/trunk/timescaledb.install)
===================================================================
--- community-x86_64/timescaledb.install (rev 0)
+++ community-x86_64/timescaledb.install 2021-03-19 05:55:25 UTC (rev 894539)
@@ -0,0 +1,15 @@
+post_install() {
+ echo "To use TimescaleDB as PostgreSQL extension,"
+ echo "put in /var/lib/postgres/data/postgresql.conf:"
+ echo "'shared_preload_libraries = "timescaledb"'"
+ echo "If multiple libraries are required, separate them with comma."
+ echo "Then restart postgresql:"
+ echo "$ systemctl restart postgresql"
+}
+
+post_remove() {
+ echo "Remove 'timescaledb' from 'shared_preload_libraries'"
+ echo "In /var/lib/postgres/data/postgresql.conf"
+ echo "Then restart postgresql:"
+ echo "$ systemctl restart postgresql"
+}
More information about the arch-commits
mailing list