diff options
author | hayao | 2021-06-06 20:47:19 +0900 |
---|---|---|
committer | hayao | 2021-06-06 20:47:19 +0900 |
commit | 9cf6d23ccf565a1740ae32c3b8c80199ce668473 (patch) | |
tree | 14354e498a01c7436d1a82d06107313fd4042479 | |
parent | a326c3ea72358be99d8a386687da2c0ab9a43575 (diff) | |
download | aur-9cf6d23ccf565a1740ae32c3b8c80199ce668473.tar.gz |
[update] : Do not use curl for getting checksum
I cannot understand why it is bad
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 4 insertions, 14 deletions
@@ -20,9 +20,8 @@ pkgbase = filezilla-bin conflicts = filezilla-git conflicts = libfilezilla source_i686 = FileZilla_3.54.1_i686-linux-gnu.tar.bz2::https://download.filezilla-project.org/client/FileZilla_3.54.1_i686-linux-gnu.tar.bz2 - sha512sums_i686 = f0f5c54e9e3d630b75f353a1bde8da40eee1a24deb3ae3663cb1c2a9c5946e96bdd7fbdedc6fd259fa4a3665968960dec241dd7301b489306bc9f1dcf40262f1 + sha512sums_i686 = SKIP source_x86_64 = FileZilla_3.54.1_x86_64-linux-gnu.tar.bz2::https://download.filezilla-project.org/client/FileZilla_3.54.1_x86_64-linux-gnu.tar.bz2 - sha512sums_x86_64 = 034cb3a2d7258437e3a8b2193c342f818183bf25388b83cb1f5a7b4f81dbe27c67f1d32b5060de60628147ff214fbe0d2f392d4294c7ecbca9d3bcc701da0029 + sha512sums_x86_64 = SKIP pkgname = filezilla-bin - @@ -16,19 +16,10 @@ machine_arch="${CARCH}" for _arch in ${arch[@]}; do eval "source_${_arch}=(FileZilla_${pkgver}_${_arch}-linux-gnu.tar.bz2::https://download.filezilla-project.org/client/FileZilla_${pkgver}_${_arch}-linux-gnu.tar.bz2)" - eval "sha512sums_${_arch}=( - '$( - _url="https://download.filezilla-project.org/client/FileZilla_${pkgver}.sha512" - _sum="$(curl --silent -L "${_url}" | grep "FileZilla_${pkgver}_${_arch}-linux-gnu.tar.bz2")" - if [[ ! "${?}" = 0 ]] || [[ ! -v "_sum" ]] || [[ -z "${_sum}" ]] || [[ "${_sum}" = "" ]]; then - echo -n "SKIP" - else - echo -n "$(echo "${_sum}" | cut -d ' ' -f 1)" - fi - )' - )" + eval "sha512sums_${_arch}=(SKIP)" done + package() { mkdir -p "${pkgdir}/opt/" "${pkgdir}/usr/bin/" cp -r "${srcdir}/FileZilla3" "${pkgdir}/opt/" |