PKGBUILD 822 B

12345678910111213141516171819202122232425262728293031
  1. # Maintainer (Artix): artoo <artoo@artixlinux.org>
  2. # Maintainer: bill-auger <bill-auger@programmer.net>
  3. pkgname=pcsclite-openrc
  4. pkgver=20190128
  5. pkgrel=2
  6. pkgdesc="OpenRC pcsclite init script"
  7. arch=('any')
  8. url="https://gitea.artixlinux.org/artixlinux/packages-openrc/src/branch/master/pcsclite-openrc/repos/community-any"
  9. license=('GPL2')
  10. depends=('openrc' 'pcsclite')
  11. conflicts=('systemd-sysvcompat')
  12. source=("pcscd.initd" "pcscd.confd")
  13. sha256sums=('be7210e7ebb17bee2da9a22082323fa87f3d76da71e6957b9205f3a04af4be20'
  14. '75c38f3d60fc6506d6bccdefeace24143cae2786b5665770ec69aed3140407d4')
  15. _inst_initd(){
  16. install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1
  17. }
  18. _inst_confd(){
  19. install -Dm755 ${srcdir}/$1.confd ${pkgdir}/etc/conf.d/$1
  20. }
  21. package() {
  22. _inst_initd 'pcscd'
  23. _inst_confd 'pcscd'
  24. }