aboutsummaryrefslogtreecommitdiffstats
path: root/testing/timescaledb/APKBUILD
blob: 92b2b1a9932b77c85bf4ea835efbe5c8a0be74bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: wener <wenermail@gmail.com>
# Maintainer: wener <wenermail@gmail.com>
pkgname="timescaledb"
pkgver="1.4.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="8a288d574e5e0324fd744a7e0e305d3c3b66989a8c59661331920a7445c88157534f9bae213c118e8a17a42f9e6e30364765d6e7d5c0d8b33af8815302f4c9c6  timescaledb-1.4.2.tar.gz"