aboutsummaryrefslogtreecommitdiffstats
path: root/testing/postgresql-citus/APKBUILD
blob: 8964fa61bef2a44c0fa2f6a3568346cf9b1f62ff (plain) (blame)
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
27
28
29
30
31
32
33
34
35
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=postgresql-citus
_projname=citus
pkgver=9.3.1
pkgrel=0
pkgdesc="Scalable PostgreSQL for multi-tenant and real-time analytics workloads"
url="https://github.com/citusdata/citus"
arch="all"
license="AGPL-3.0-only"
makedepends="autoconf postgresql-dev icu-dev"
provides="pg_cron=$pkgver-r$pkgrel"
install="$pkgname.post-install"
source="https://github.com/citusdata/citus/archive/v$pkgver/$_projname-$pkgver.tar.gz"
builddir="$srcdir/$_projname-$pkgver"
options="!check" # tests requires running postgresql cluster

prepare() {
	default_prepare
	autoreconf -fi
}

build() {
	./configure \
		--prefix=/usr \
		--without-libcurl
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="ae2eafecba6e7dec9d62a14d4e1df5700063a5a1301b047b5fb1014b19ba1ebcdd973a741eb19d59e9f2befbe84603af427b7d68acc7ff78b0829cb15fecf76d  citus-9.3.1.tar.gz"