1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/postgresql-citus/APKBUILD
2021-07-16 18:31:50 +00:00

37 lines
1 KiB
Text

# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=postgresql-citus
_projname=citus
pkgver=10.1.0
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 lz4-dev zstd-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="
7f3bf01e08a2f8087b570a9b54224878cbbeacaa19115f3dd3e4f45a517af59e920d6a1fc490f86c9d0148de118d2b1f6cab65a5df2b3729793ec70d85a4ba22 citus-10.1.0.tar.gz
"