PKGBUILD 910 B

123456789101112131415161718192021222324252627
  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=vnstat-openrc
  6. pkgver=20210505
  7. pkgrel=1
  8. pkgdesc="OpenRC vnstat init script"
  9. arch=('any')
  10. url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
  11. license=('GPL2')
  12. groups=('openrc-galaxy')
  13. provides=('init-vnstat')
  14. conflicts=('init-vnstat')
  15. backup=('etc/conf.d/vnstatd')
  16. source=("vnstatd.confd"
  17. "vnstatd.initd")
  18. sha256sums=('e5820c6557cd578faf31c6d5060606e9fe4c024d5f91a90e9b4701c4677fbb5f'
  19. 'e6bd8872705d0a31cb138b4ef9cdba62a7a52f113c486bc3ffacba397b12324b')
  20. package() {
  21. depends=('openrc' 'vnstat')
  22. install -Dm755 "$srcdir/vnstatd.initd" "$pkgdir/etc/init.d/vnstatd"
  23. install -Dm644 "$srcdir/vnstatd.confd" "$pkgdir/etc/conf.d/vnstatd"
  24. }