aports/configs/postgresql/APKBUILD

28 lines
1.1 KiB
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-config-postgresql
pkgver=2020.12.22
pkgrel=0
pkgdesc="PostgreSQL configuration files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="postgresql postgresql-contrib"
options="!check" # PostgreSQL doesn't have configuration checks
source="
postgresql.conf
pg_hba.conf
pg_ident.conf
"
package() {
install -dm750 "$pkgdir"/databases/postgresql
install -Dm644 postgresql.conf "$pkgdir"/etc/postgresql/redxen/postgresql.conf
install -Dm644 pg_hba.conf "$pkgdir"/etc/postgresql/redxen/pg_hba.conf
install -Dm644 pg_ident.conf "$pkgdir"/etc/postgresql/redxen/pg_ident.conf
}
sha512sums="488704a30e019d498f1cc27d1d3ae30c2e62be01549f593e72a4e42f476b46efdce5e97ffc9aa7f33d67c5d7752e5cc6f146f5377c459719bb2bcb07a404951c postgresql.conf
dfda1183c006f361874f8ab0f6b4e9b3f3e32dcd24b6089f3390c441e5c17b1ee823c68f4d932e3560ea5bb5fc95276bc7cafe6c00d7417ea164cf81193cc92a pg_hba.conf
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e pg_ident.conf"