summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hsuan Yen2022-01-01 02:57:25 +0800
committerChih-Hsuan Yen2022-01-01 02:58:15 +0800
commit9ae9503757c664653837b601da85879edc21032c (patch)
tree47bde1592599cf415c73dbf3ec1705dbb49e4402
parent7a3183a3bb4edb73b01018d95ec9214bac10ecc7 (diff)
downloadaur-9ae9503757c664653837b601da85879edc21032c.tar.gz
Switch to versioned tarballs from upstream
The original non-versioned tarballs are removed. Also, openssl-1.0 is finally gone! The latest tarball has "Last-Modified: Wed, 22 Dec 2021 17:12:05 GMT" HTTP header, while the version string is older, hence the epoch.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 9 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 89fd432bd997..bf8e5abf2471 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
pkgbase = nhiicc
pkgdesc = 台灣健保卡網路註冊憑證元件 (National Health Insurance IC Card)
- pkgver = 20211004
+ pkgver = 20210824.02
pkgrel = 1
+ epoch = 1
url = https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mEventesting.htm
install = nhiicc.install
arch = x86_64
license = custom
- 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 = https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mLNHIICC_Setup.20210824.02.U64.gz
source = nhiicc.service
- md5sums = 52eacb7ca2b4d0a5a869df01079bf4d6
+ md5sums = 05b34bb5df19c0b8270ab37416225d78
md5sums = 616a69724e3bc4dab688ca4bc5298c41
pkgname = nhiicc
diff --git a/PKGBUILD b/PKGBUILD
index e3ed6f49d0c5..89fdc930aba2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,25 @@
# Maintainer: Chih-Hsuan Yen <yan12125@gmail.com>
pkgname=nhiicc
-# XXX: Upstream does not provide a version string - use the last modified date
-pkgver=20211004
+epoch=1
+pkgver=20210824.02
pkgrel=1
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)
+depends=(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"
+source=("https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mLNHIICC_Setup.$pkgver.U64.gz"
nhiicc.service)
# See https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/mEventesting.htm for MD5 sums
-md5sums=('52eacb7ca2b4d0a5a869df01079bf4d6'
+md5sums=('05b34bb5df19c0b8270ab37416225d78'
'616a69724e3bc4dab688ca4bc5298c41')
install=nhiicc.install
-prepare() {
- tar xf mLNHIICC_Setup.tar.gz
-}
-
package() {
# XXX: upstream binary appears to hard-code /usr/local/share/NHIICC :/
install -Ddm755 "$pkgdir"/usr/{bin,share/NHIICC}