PKGBUILD 757 B

1234567891011121314151617181920212223
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): artoo <artoo@artixlinux.org>
  3. pkgname=postgresql-openrc
  4. pkgver=20210505
  5. pkgrel=2
  6. pkgdesc="OpenRC postgresql init script"
  7. arch=('any')
  8. url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
  9. license=('GPL2')
  10. groups=('openrc-world')
  11. provides=('init-postgresql')
  12. conflicts=('init-postgresql')
  13. source=("postgresql".{confd,initd})
  14. sha256sums=('e462e04a18020be379b5466e98a889292f2f8240701c5bc6e742d1e74352d393'
  15. '8f067b6cf08f98d03e402421f1ce3871b7aaf5bbb94da804ac4aafed5eee4cfe')
  16. package() {
  17. depends=('openrc' 'postgresql')
  18. install -Dm755 "$srcdir"/postgresql.initd "$pkgdir"/etc/init.d/postgresql
  19. install -Dm644 "$srcdir"/postgresql.confd "$pkgdir"/etc/conf.d/postgresql
  20. }