void-packages/srcpkgs/pgbouncer/template

25 lines
846 B
Bash

# Template file for 'pgbouncer'
pkgname=pgbouncer
version=1.20.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libevent-devel"
checkdepends="python3-pytest-xdist python3-pytest-asyncio python3-filelock python3-psycopg postgresql15 postgresql15-client"
short_desc="Lightweight connection pooler for PostgreSQL"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="ISC"
homepage="https://pgbouncer.github.io/"
changelog="https://raw.githubusercontent.com/pgbouncer/pgbouncer/master/NEWS.md"
distfiles="https://pgbouncer.github.io/downloads/files/${version}/pgbouncer-${version}.tar.gz"
checksum=24992cf557d73426d7048698dffc7b019e6364d4d8757ae2cf5e2471286a2088
make_check=ci-skip # Postgres server can't be run as root
pre_check() {
. /etc/profile.d/postgresql15.sh
}
post_install() {
vlicense COPYRIGHT
}