summaryrefslogtreecommitdiff
path: root/nonsystemd/postgresql-openrc/PKGBUILD
blob: 65cf8e4f680e11a8a0a8d403df4736563fe027ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: David P. <megver83@parabola.nu>
# Maintainer (Artix): artoo <artoo@artixlinux.org>

pkgname=postgresql-openrc
pkgver=20210505
pkgrel=2
pkgdesc="OpenRC postgresql init script"
arch=('any')
url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
license=('GPL2')
groups=('openrc-world')
provides=('init-postgresql')
conflicts=('init-postgresql')
source=("postgresql".{confd,initd})
sha256sums=('e462e04a18020be379b5466e98a889292f2f8240701c5bc6e742d1e74352d393'
            '8f067b6cf08f98d03e402421f1ce3871b7aaf5bbb94da804ac4aafed5eee4cfe')

package() {
	depends=('openrc' 'postgresql')
	install -Dm755 "$srcdir"/postgresql.initd "$pkgdir"/etc/init.d/postgresql
	install -Dm644 "$srcdir"/postgresql.confd "$pkgdir"/etc/conf.d/postgresql
}