# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=rum
pkgver=1.3.11
pkgrel=0
pkgdesc="Inverted index with additional information in posting lists for Postgres"
url="https://postgis.net/"
arch="all"
license="PostgreSQL"
makedepends="postgresql-dev"
source="
$pkgname-$pkgver.tar.gz::https://github.com/postgrespro/rum/archive/refs/tags/$pkgver.tar.gz
"
options="!check" # must be run after install
build() {
make USE_PGXS=1
}
package() {
depends="$depends postgresql$(pg_config --major-version)"
make USE_PGXS=1 DESTDIR="$pkgdir" install
}
sha512sums="
4720255a1d1534a294eb10a3e46993b6e5bb8a690b58a505319013ad7210627e26835ed8d417dd45dcb3f276a13d8e88f68405496a9ac39a361c19e1168a1b27 rum-1.3.11.tar.gz
"