void-packages/srcpkgs/pgbouncer/template

24 lines
717 B
Bash

# Template file for 'pgbouncer'
pkgname=pgbouncer
version=1.15.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libevent-devel"
checkdepends="which postgresql13 postgresql13-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=e05a9e158aa6256f60aacbcd9125d3109155c1001a1d1c15d33a37c685d31380
pre_check() {
. /etc/profile.d/postgresql13.sh
}
post_install() {
vlicense COPYRIGHT
}