summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hsuan Yen2020-03-25 00:21:52 +0800
committerChih-Hsuan Yen2020-03-25 00:21:52 +0800
commita5cc44f795162b907d591333619feeb888d5ae00 (patch)
tree1e387fd9a8225147144b48407702e3cd66b4de51
parente6ed5dce581283f157ed9d24506f8cc645603867 (diff)
downloadaur-a5cc44f795162b907d591333619feeb888d5ae00.tar.gz
allow using with 32-bit reader drivers
Remove Requires=pcscd.service to allow pcscd-32.service
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
-rw-r--r--nhiicc.service2
3 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 23ee736bd1a2..23f2676e6ed3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nhiicc
pkgdesc = 台灣健保卡網路註冊憑證元件 (National Health Insurance IC Card)
pkgver = 20200319
- pkgrel = 2
+ pkgrel = 3
url = https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mEventesting.htm
install = nhiicc.install
arch = x86_64
@@ -9,10 +9,11 @@ pkgbase = nhiicc
depends = openssl-1.0
depends = pcsclite
depends = sed
+ optdepends = lib32-pcsclite: for using card readers with 32-bit driver only
source = https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mLNHIICC_Setup.Ubuntu.zip
source = nhiicc.service
md5sums = 52eacb7ca2b4d0a5a869df01079bf4d6
- md5sums = a474c9ca019f23bf3adb5624990899b9
+ md5sums = f1de9682400ca990b34cfa8ae13d9131
pkgname = nhiicc
diff --git a/PKGBUILD b/PKGBUILD
index 2c859fe49730..150046c548f4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,21 @@
pkgname=nhiicc
# XXX: Upstream does not provide a version string :/
pkgver=20200319
-pkgrel=2
+pkgrel=3
arch=(x86_64)
url='https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mEventesting.htm'
license=(custom)
pkgdesc='台灣健保卡網路註冊憑證元件 (National Health Insurance IC Card)'
# sed is for commands in nhiicc.install
depends=(openssl-1.0 pcsclite sed)
+optdepends=(
+ 'lib32-pcsclite: for using card readers with 32-bit driver only'
+)
source=("https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mLNHIICC_Setup.Ubuntu.zip"
nhiicc.service)
# See https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mEventesting.htm for MD5 sums
md5sums=('52eacb7ca2b4d0a5a869df01079bf4d6'
- 'a474c9ca019f23bf3adb5624990899b9')
+ 'f1de9682400ca990b34cfa8ae13d9131')
install=nhiicc.install
prepare() {
diff --git a/nhiicc.service b/nhiicc.service
index 4714c0987232..2db2c65da38e 100644
--- a/nhiicc.service
+++ b/nhiicc.service
@@ -1,7 +1,5 @@
[Unit]
Description=台灣健保卡網路註冊憑證元件 (National Health Insurance IC Card)
-Requires=pcscd.service
-After=pcscd.service
[Service]
Type=simple