1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 04:35:39 +03:00
aports/testing/postgresql-citus/APKBUILD
2020-04-17 07:31:24 +00:00

35 lines
1,015 B
Text

# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=postgresql-citus
_projname=citus
pkgver=9.2.4
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"
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="746b1a31edddea6082e24583e5604dd228bd5ae39d7a37648e5053e26ad70050b2a8b3988a8ab9c493d8084214437e5d881412a5a98fd51ae3ea5d634bc65e98 citus-9.2.4.tar.gz"