# Contributor: Michael Pirogov # Maintainer: Michael Pirogov pkgname=postgresql-citus _projname=citus pkgver=10.2.5 pkgrel=1 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" 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() { depends="postgresql$(pg_config --major-version)" make DESTDIR="$pkgdir" install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } sha512sums=" 95ee1225c850bc986025f6960cb5784b02f2ac5af8f312f5dd4a270c4ebf46dd60388ba604a9cd4cf2e22f8b7a855bd18654cbe9f701ba7cd35c1576414d185f citus-10.2.5.tar.gz "