1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Dan McGee <dan@archlinux.org>
7 pkgdesc='Lightweight connection pooler for PostgreSQL'
8 url='https://pgbouncer.github.io/'
11 depends=('glibc' 'libevent' 'c-ares' 'libcares.so' 'systemd' 'pam' 'libpam.so' 'openssl')
12 makedepends=('asciidoc' 'xmlto')
13 checkdepends=('postgresql-libs' 'postgresql')
14 backup=('etc/pgbouncer/pgbouncer.ini'
15 'etc/logrotate.d/pgbouncer')
16 source=(https://pgbouncer.github.io/downloads/files/${pkgver}/pgbouncer-${pkgver}.tar.gz
20 pgbouncer.tmpfiles.conf
22 sha512sums=('1c2bd55c6909a012917fcf1b139ab4bac89de1d02b346b8ade2205c15105a0c6f4f6632bf5844f654cb19e3312b8ed22bf2d14094a17f5515325c826662d5935'
23 '39abc7b11c9d7a2593941b4d2a82db998ac1b1e3da131ae276da73c7afc4eda7b69bbfd0acd39f7bce20ecb911baf0adba341ff58dcab1a57e419708e7c8d26f'
24 '1dc86704fce211b23afe7962c947c7de80a15bef219928acbf486b915d80d44a6590fbc509fe650c97b694a508bcf95d2152663863f0c372323286e644c6d60a'
25 '2b4baaaa7129eda54b34405aa4e15a4d37b2173b529ecae070e766f1dcebd0af8f6898ee1b665a60d5f633036a52662e89967f33caacf2841dad441960230ef7'
26 '0757205e5cb5f679bab00bdbed2c828a536239f380d537498bc893c77162e0978308a5f38fae4cb6470f18d6ed0fe4a3ce8f00e85aef89b14bcf6e2eab05a696'
27 '05551189022bd160ca0d64831d2559480ae2dcfe8a489aa4c22cc375c3def31d1169e48e17e6502ccd18237d79afef5bc4587f3cf14274c125eb71311d00503b')
30 cd ${pkgname}-${pkgver}
39 cd ${pkgname}-${pkgver}
44 cd ${pkgname}-${pkgver}
45 make DESTDIR="${pkgdir}" install
46 install -Dm 644 NEWS.md -t "${pkgdir}/usr/share/doc/${pkgname}"
47 install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
48 install -Dm 644 ../pgbouncer.ini "${pkgdir}/etc/pgbouncer/pgbouncer.ini"
49 install -Dm 644 ../pgbouncer.logrotate "${pkgdir}/etc/logrotate.d/pgbouncer"
50 install -Dm 644 ../pgbouncer.service "${pkgdir}/usr/lib/systemd/system/pgbouncer.service"
51 install -Dm 644 ../pgbouncer.tmpfiles.conf "${pkgdir}/usr/lib/tmpfiles.d/pgbouncer.conf"
52 install -Dm 644 ../pgbouncer.sysusers "${pkgdir}/usr/lib/sysusers.d/pgbouncer.conf"