bump version, fix building from tarball

This commit is contained in:
K900
2020-04-23 16:45:29 +03:00
parent 7677831741
commit e5fe1f5a66
2 changed files with 11 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = cisco-anyconnect
pkgdesc = Cisco AnyConnect Secure Mobility Client
pkgver = 4.8.02042
pkgver = 4.8.03043
pkgrel = 1
url = https://www.cisco.com/c/en/us/products/security/anyconnect-secure-mobility-client/index.html
arch = x86_64
@@ -12,12 +12,12 @@ pkgbase = cisco-anyconnect
optdepends = glib2: required by vpnui
optdepends = gtk3: required by acwebhelper
options = !strip
source = file://anyconnect-linux64-4.8.02042-core-vpn-webdeploy-k9.sh
source = file://anyconnect-linux64-4.8.03043-core-vpn-webdeploy-k9.sh
source = vpnagentd.service
source = anyconnect.sh
source = anyconnect.csh
source = AnyConnectLocalPolicy.xml
sha256sums = 6621b5bacddd5f249b6f9d85c8e8f15b6dc5c03686624742ed6575ed700d2c0b
sha256sums = 0da56dc60ee8794f8ba4abd6057e36c47d421e8e3d7e6564db44feec6881c673
sha256sums = 9d37640195b0fa4ffb073e1b006b4b9546595f7bd3b25a4fe9a0d43a75cd57b8
sha256sums = dcc7a5dcbe4387f3e4a2a3f260b4197faf1b79adddf0d4dad3a02bc6041effa6
sha256sums = 0fcd62bd5d734c239bb7bda7c7e7791b9b8d76a019d2b42ff74caa998e7e9733

View File

@@ -6,7 +6,7 @@ _source="installer" # if installing from .sh installer
# _source="pkg" # if installing from .pkg package
pkgname=cisco-anyconnect
pkgver=4.8.02042
pkgver=4.8.03043
pkgrel=1
pkgdesc='Cisco AnyConnect Secure Mobility Client'
arch=('x86_64')
@@ -39,17 +39,21 @@ unpack_installer() {
if [[ "${_source}" == "tarball" ]]; then
_filename="anyconnect-linux64-${pkgver}-predeploy-k9.tar.gz"
_filehash="ee4b6c43d3cb6b13d962aab87b86b388f9b62733a4b05867baca0dd6eeeb33f8"
_filehash="7d77e29947f42cef74745e4bb924efc8d4eeca5eb0bf97f8c39980353511be91"
prepare() {
tar xf "$_filename"
}
elif [[ "${_source}" == "installer" ]]; then
_filename="${_installer_filename}"
_filehash="6621b5bacddd5f249b6f9d85c8e8f15b6dc5c03686624742ed6575ed700d2c0b"
_filehash="0da56dc60ee8794f8ba4abd6057e36c47d421e8e3d7e6564db44feec6881c673"
prepare() {
unpack_installer
}
elif [[ "${_source}" == "pkg" ]]; then
_filename="anyconnect-linux64-${pkgver}-webdeploy-k9.pkg"
_filehash="d414923d7a84fe7c3bf2f058cb35cb52372fd434bad502417bc4e57c7c505ee2"
_filehash="9efd87ee498bc56e90bd06a5920954ade62f8702cb4643520876f414f6ec6127"
prepare() {
unzip -j "${_filename}" "binaries/${_installer_filename}"