PKGBUILD 1.1 KB

123456789101112131415161718192021222324252627282930
  1. # Maintainer: David P. <megver83@parabola.nu>
  2. # Maintainer (Artix): Rafli Akmal <rafliakmaltejakusuma@gmail.com>
  3. # Contributor (Artix): artoo <artoo@artixlinux.org>
  4. # Contributor (Artix): Oscar Campos <damnwidget@artixlinux.org>
  5. pkgname=jenkins-openrc
  6. pkgver=20210505
  7. pkgrel=1
  8. pkgdesc="OpenRC jenkins init script"
  9. arch=('any')
  10. url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
  11. license=('GPL2')
  12. groups=('openrc-galaxy')
  13. provides=('init-jenkins')
  14. conflicts=('init-jenkins')
  15. backup=('etc/conf.d/jenkins')
  16. source=('jenkins.confd'
  17. 'jenkins.initd'
  18. "jenkins.logrotate")
  19. sha256sums=('ce7cdba0316614a32707b4b9ec3ee0d229738b3b23d073bbe3b5960e627bdadb'
  20. '3c1b8dbf69a8caec4533362b7d269036fc76b9cc4b1e92259c057c9988d83aa8'
  21. '03dcaccbb0d398c2b600be0752ffc68d20c877b58a10026b7c59b0bd40c0e5bf')
  22. package() {
  23. depends=('jenkins' 'openrc')
  24. install -Dm755 "$srcdir/jenkins.initd" "$pkgdir/etc/init.d/jenkins"
  25. install -Dm644 "$srcdir/jenkins.confd" "$pkgdir/etc/conf.d/jenkins"
  26. install -Dm644 "${srcdir}/jenkins.logrotate" "${pkgdir}/etc/logrotate.d/jenkins"
  27. }