PKGBUILD 798 B

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