# Contributor: Michael Pirogov # Maintainer: Michael Pirogov pkgname=postgresql-citus _projname=citus pkgver=10.0.3 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="1144642e460babca6919d1ddc1f00bfaaba5abc0b24869627fb230781d158f54d34e7c3039a65d79c46682a0e1732bebde3f16b25670a249753afdd7fb81de52 citus-10.0.3.tar.gz"