summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPlaton Pronko2020-09-06 10:33:44 +0300
committerPlaton Pronko2020-09-06 10:34:26 +0300
commit303cec3d8b81a35a894c095e40b914e76bb647a4 (patch)
tree5edea8516dd5f9669843f9155b11802296503cb9
parent55ad4fe3ffd3c26529c59483d4ce2d59215c458b (diff)
downloadaur-303cec3d8b81a35a894c095e40b914e76bb647a4.tar.gz
download cades_linux_amd64.tar.gz automatically
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 5 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c1564cf4a02a..e819d5f1ac47 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cryptopro-csp-k1
pkgdesc = CryptoPro CSP 5.0
pkgver = 5.0.11823
- pkgrel = 0
+ pkgrel = 1
url = https://cryptopro.ru/products/cryptopro-csp
install = cryptopro-csp-k1.install
arch = x86_64
@@ -21,7 +21,7 @@ pkgbase = cryptopro-csp-k1
depends = acsccid
options = !strip
source = linux-amd64.tgz
- source = cades_linux_amd64.tar.gz
+ source = https://www.cryptopro.ru/sites/default/files/products/cades/current_release_2_0/cades_linux_amd64.tar.gz
md5sums = 9bfd01ef7279ef20ce3e2df0ff4e8fb5
md5sums = 11ec1def2383ba5644066ab73163785f
diff --git a/PKGBUILD b/PKGBUILD
index 1ad849bd14ab..628ae89b773c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=5.0.11823
# pkgver is not allowed to contain forward slashes
_pkgver_patch="6"
_pkgver="$pkgver-$_pkgver_patch"
-pkgrel=0
+pkgrel=1
pkgdesc='CryptoPro CSP 5.0'
arch=('x86_64')
url='https://cryptopro.ru/products/cryptopro-csp'
@@ -27,12 +27,9 @@ depends=(
makedepends=(
'libarchive'
)
-# Direct links to sources download:
-# https://www.cryptopro.ru/sites/default/files/private/csp/50/11823/linux-amd64.tgz
-# https://www.cryptopro.ru/sites/default/files/products/cades/current_release_2_0/cades_linux_amd64.tar.gz
source=(
- 'linux-amd64.tgz'
- 'cades_linux_amd64.tar.gz'
+ 'linux-amd64.tgz' # download from https://www.cryptopro.ru/sites/default/files/private/csp/50/11823/linux-amd64.tgz
+ 'https://www.cryptopro.ru/sites/default/files/products/cades/current_release_2_0/cades_linux_amd64.tar.gz'
)
md5sums=(
'9bfd01ef7279ef20ce3e2df0ff4e8fb5'