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.29
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="9c4c494aead2906bf7da75a38385f1a096c99fb3d836da5c151e5969e56845baf359c3a8ccd7e4c857cb179be22f1c1179b953e2b1a55ea47b467643938ed375 conffile"