aports/openrc-configs/postgresql-redxen-openrc/APKBUILD

26 lines
967 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=postgresql-redxen-openrc
pkgver=1
pkgrel=0
pkgdesc="PostgreSQL service files"
url="https://git.redxen.eu/RedXen"
arch="noarch"
license="none"
depends="openrc postgresql-redxen-config"
options="!check"
source="
runfile-$pkgname-$pkgver.$pkgrel.initd::https://git.alpinelinux.org/aports/plain/main/postgresql/postgresql.initd
conffile
"
provides="postgresql-openrc"
builddir="$srcdir"
package() {
install -Dm755 "runfile-$pkgname-$pkgver.$pkgrel.initd" "$pkgdir"/etc/init.d/postgresql
install -Dm644 conffile "$pkgdir"/etc/conf.d/postgresql
}
sha512sums="224e80f9e62843fd248e625abdd0d9fe477729ff3f9a64fc5c86dd37bb7176d3504107fbed7ce578e3a1db7f60b8cf2abf5fe4862c81f76b6d026e29ca495cfc runfile-postgresql-redxen-openrc-1.0.initd
2d4a619c1f80ed7c443cdff8223a2c31d3cb135bcacc7e52a9a38f3c53bc3a64f3cb218574cb5dc7445143d1b762d7d5ba6f2df1188ca717e710dc548d7baab5 conffile"