PKGBUILD 801 B

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