# Contributor: Michael Pirogov # Maintainer: Michael Pirogov pkgname=postgresql-citus _projname=citus pkgver=9.3.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" 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="2a677b164c98c935f3eb6fcbf1742d1717c1153057308d1041c79911fb2ece8b93e961eb71861139d90cc17bcd4e9e4ee855af2504b35da01cc52817f6f596c4 citus-9.3.0.tar.gz"