1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/testing/postgresql-citus/APKBUILD
2020-05-28 13:38:59 +00:00

35 lines
1,023 B
Text

# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
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"