PKGBUILD 723 B

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