diff options
Diffstat (limited to 'pcr-testing/pcsclite-openrc/PKGBUILD')
-rw-r--r-- | pcr-testing/pcsclite-openrc/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr-testing/pcsclite-openrc/PKGBUILD b/pcr-testing/pcsclite-openrc/PKGBUILD new file mode 100644 index 000000000..290210f4b --- /dev/null +++ b/pcr-testing/pcsclite-openrc/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer (Artix): artoo <artoo@artixlinux.org> +# Maintainer: bill-auger <bill-auger@programmer.net> + + +pkgname=pcsclite-openrc +pkgver=20190128 +pkgrel=2 +pkgdesc="OpenRC pcsclite init script" +arch=('any') +url="https://gitea.artixlinux.org/artixlinux/packages-openrc/src/branch/master/pcsclite-openrc/repos/community-any" +license=('GPL2') +depends=('openrc' 'pcsclite') +conflicts=('systemd-sysvcompat') +source=("pcscd.initd" "pcscd.confd") +sha256sums=('be7210e7ebb17bee2da9a22082323fa87f3d76da71e6957b9205f3a04af4be20' + '75c38f3d60fc6506d6bccdefeace24143cae2786b5665770ec69aed3140407d4') + + +_inst_initd(){ + install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1 +} + +_inst_confd(){ + install -Dm755 ${srcdir}/$1.confd ${pkgdir}/etc/conf.d/$1 +} + +package() { + _inst_initd 'pcscd' + _inst_confd 'pcscd' +} |