aports/openrc/postgresql/APKBUILD

24 lines
683 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=redxen-openrc-postgresql
pkgver=2020.12.13
pkgrel=0
pkgdesc="PostgreSQL service files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="openrc postgresql-openrc redxen-config-postgresql"
options="!check"
source="
conffile
"
builddir="$srcdir"
package() {
mkdir -p "$pkgdir"/etc/init.d
ln -s postgresql "$pkgdir"/etc/init.d/postgresql.redxen
install -Dm644 conffile "$pkgdir"/etc/conf.d/postgresql.redxen
}
sha512sums="bd483ee17f55bcf614f828d47325dec04665526bb0e5c0b314904378412501b1e8983a368be288c37608829a8bd116776de9ac5e2709707e50a2b9981b333b52 conffile"